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
LAStatus
Attributes

Fields

Name Value Description
NotInteractive -1004
InvalidContext -10
AppCancel -9
BiometryLockout -8

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

TouchIDLockout -8

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

BiometryNotEnrolled -7

Indicates that the user has not enrolled for biometric authentication.

TouchIDNotEnrolled -7

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

BiometryNotAvailable -6

Indicates that biometric authentication is not supported on the device.

TouchIDNotAvailable -6

Authentication failed due to the TouchID sensor is not available

PasscodeNotSet -5

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

SystemCancel -4

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

UserFallback -3

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

UserCancel -2

Authentication failed due to the using cancelling.

AuthenticationFailed -1

Authentication failed due to invalid credentials.

Success 0

Authentication succeeded.

Remarks

Applies to