LAStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Status and error codes returned by methods in LocalAuthentication.
[ObjCRuntime.Native("LAError")]
public enum LAStatus
[<ObjCRuntime.Native("LAError")>]
type LAStatus =
- Inheritance
-
LAStatus
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| NotInteractive | -1004 | |
| InvalidDimension | -14 | |
| BiometryDisconnected | -13 | |
| BiometryNotPaired | -12 | |
| CompanionNotAvailable | -11 | |
| WatchNotAvailable | -11 | |
| InvalidContext | -10 | |
| AppCancel | -9 | |
| BiometryLockout | -8 | Indicates that biometric authentication has failed too many times, and the user is now locked out. |
| BiometryNotEnrolled | -7 | Indicates that the user has not enrolled for biometric authentication. |
| BiometryNotAvailable | -6 | Indicates that biometric authentication is not supported on the device. |
| PasscodeNotSet | -5 | Authentication could not start, because passcode is not set on the device. |
| SystemCancel | -4 | Authentication was canceled by system (e.g. another application went to foreground). |
| UserFallback | -3 | Authentication was canceled, because the user tapped the fallback button (Enter Password). |
| UserCancel | -2 | Authentication was canceled by user (e.g. tapped Cancel button). |
| AuthenticationFailed | -1 | Authentication was not successful, because user failed to provide valid credentials. |
| Success | 0 | Authentication succeeded. |