LAStatus LAStatus Enum

Definition

Status and error codes returned by methods in LocalAuthentication.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public enum LAStatus
type LAStatus = 
Inheritance
LAStatusLAStatus
Attributes

Fields

AppCancel AppCancel -9
AuthenticationFailed AuthenticationFailed -1

Authentication failed due to invalid credentials.

BiometryLockout BiometryLockout -8

Indicates that biometric authentication has failed too many times, and the user is now locked out.

BiometryNotAvailable BiometryNotAvailable -6

Indicates that biometric authentication is not supported on the device.

BiometryNotEnrolled BiometryNotEnrolled -7

Indicates that the user has not enrolled for biometric authentication.

InvalidContext InvalidContext -10
NotInteractive NotInteractive -1004
PasscodeNotSet PasscodeNotSet -5

Authentication could not take place, as the device does not have a passcode set.

Success Success 0

Authentication succeeded.

SystemCancel SystemCancel -4

Authentication was canceled by the system, usually due to an interruption by another application.

TouchIDLockout TouchIDLockout -8

Developers should not use this deprecated field. Developers should use 'BiometryLockout' instead.

TouchIDNotAvailable TouchIDNotAvailable -6

Authentication failed due to the TouchID sensor is not available

TouchIDNotEnrolled TouchIDNotEnrolled -7

Authentication failed because the user has not enrolled any fingers with TouchID.

UserCancel UserCancel -2

Authentication failed due to the using cancelling.

UserFallback UserFallback -3

Authentication failed because the user used a fallback (for example, a password).

Remarks

Applies to