[localauthentication] Update for Xcode 11 beta 1-3 (#6574)

This commit is contained in:
Sebastien Pouliot 2019-07-12 08:58:06 -07:00 коммит произвёл GitHub
Родитель a27c33342b
Коммит 42648dd609
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -10,7 +10,11 @@ namespace LocalAuthentication {
public enum LAPolicy : long {
[Mac (10,12,2)]
DeviceOwnerAuthenticationWithBiometrics = 1,
DeviceOwnerAuthentication = 2
DeviceOwnerAuthentication = 2,
[NoiOS][Mac (10,15, onlyOn64: true)][Introduced (PlatformName.UIKitForMac, 13,0)]
DeviceOwnerAuthenticationWithWatch = 3,
[NoiOS][Mac (10,15, onlyOn64: true)][Introduced (PlatformName.UIKitForMac, 13,0)]
OwnerAuthenticationWithBiometricsOrWatch = 4,
}
[iOS (8,0)]
@ -44,6 +48,7 @@ namespace LocalAuthentication {
TouchIDLockout = -8,
AppCancel = -9,
InvalidContext = -10,
WatchNotAvailable = -11,
BiometryNotAvailable = TouchIDNotAvailable,
BiometryNotEnrolled = TouchIDNotEnrolled,

Просмотреть файл

@ -10,7 +10,7 @@ namespace LocalAuthentication {
public enum LABiometryType : long {
None,
TouchId,
[NoMac]
[Mac (10,15, onlyOn64: true)]
FaceId,
#if !XAMCORE_4_0
[NoMac]