Package apple.localauthentication.enums
Class LAError
- java.lang.Object
-
- apple.localauthentication.enums.LAError
-
public final class LAError extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longAppCancelAuthentication was canceled by application (e.g. invalidate was called while authentication was in progress).static longAuthenticationFailedAuthentication was not successful, because user failed to provide valid credentials.static longBiometryLockoutAuthentication was not successful, because there were too many failed biometry attempts and biometry is now locked.static longBiometryNotAvailableAuthentication could not start, because biometry is not available on the device.static longBiometryNotEnrolledAuthentication could not start, because biometry has no enrolled identities.static longInvalidContextLAContext passed to this call has been previously invalidated.static longNotInteractiveAuthentication failed, because it would require showing UI which has been forbidden by using interactionNotAllowed property.static longPasscodeNotSetAuthentication could not start, because passcode is not set on the device.static longSystemCancelAuthentication was canceled by system (e.g. another application went to foreground).static longTouchIDLockoutAuthentication was not successful, because there were too many failed Touch ID attempts and Touch ID is now locked.static longTouchIDNotAvailableAuthentication could not start, because Touch ID is not available on the device.static longTouchIDNotEnrolledAuthentication could not start, because Touch ID has no enrolled fingers.static longUserCancelAuthentication was canceled by user (e.g. tapped Cancel button).static longUserFallbackAuthentication was canceled, because the user tapped the fallback button (Enter Password).
-
-
-
Field Detail
-
AuthenticationFailed
public static final long AuthenticationFailed
Authentication was not successful, because user failed to provide valid credentials.- See Also:
- Constant Field Values
-
UserCancel
public static final long UserCancel
Authentication was canceled by user (e.g. tapped Cancel button).- See Also:
- Constant Field Values
-
UserFallback
public static final long UserFallback
Authentication was canceled, because the user tapped the fallback button (Enter Password).- See Also:
- Constant Field Values
-
SystemCancel
public static final long SystemCancel
Authentication was canceled by system (e.g. another application went to foreground).- See Also:
- Constant Field Values
-
PasscodeNotSet
public static final long PasscodeNotSet
Authentication could not start, because passcode is not set on the device.- See Also:
- Constant Field Values
-
TouchIDNotAvailable
public static final long TouchIDNotAvailable
Authentication could not start, because Touch ID is not available on the device.- See Also:
- Constant Field Values
-
TouchIDNotEnrolled
public static final long TouchIDNotEnrolled
Authentication could not start, because Touch ID has no enrolled fingers.- See Also:
- Constant Field Values
-
TouchIDLockout
public static final long TouchIDLockout
Authentication was not successful, because there were too many failed Touch ID attempts and Touch ID is now locked. Passcode is required to unlock Touch ID, e.g. evaluating LAPolicyDeviceOwnerAuthenticationWithBiometrics will ask for passcode as a prerequisite.- See Also:
- Constant Field Values
-
AppCancel
public static final long AppCancel
Authentication was canceled by application (e.g. invalidate was called while authentication was in progress).- See Also:
- Constant Field Values
-
InvalidContext
public static final long InvalidContext
LAContext passed to this call has been previously invalidated.- See Also:
- Constant Field Values
-
BiometryNotAvailable
public static final long BiometryNotAvailable
Authentication could not start, because biometry is not available on the device.- See Also:
- Constant Field Values
-
BiometryNotEnrolled
public static final long BiometryNotEnrolled
Authentication could not start, because biometry has no enrolled identities.- See Also:
- Constant Field Values
-
BiometryLockout
public static final long BiometryLockout
Authentication was not successful, because there were too many failed biometry attempts and biometry is now locked. Passcode is required to unlock biometry, e.g. evaluating LAPolicyDeviceOwnerAuthenticationWithBiometrics will ask for passcode as a prerequisite.- See Also:
- Constant Field Values
-
NotInteractive
public static final long NotInteractive
Authentication failed, because it would require showing UI which has been forbidden by using interactionNotAllowed property.- See Also:
- Constant Field Values
-
-