public final class LAError
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
AppCancel
Authentication was canceled by application (e.g.
|
static long |
AuthenticationFailed
Authentication was not successful because user failed to provide valid credentials.
|
static long |
BiometryLockout
Authentication was not successful because there were too many failed biometry attempts and
biometry is now locked.
|
static long |
BiometryNotAvailable
Authentication could not start because biometry is not available on the device.
|
static long |
BiometryNotEnrolled
Authentication could not start because biometry has no enrolled identities.
|
static long |
InvalidContext
LAContext passed to this call has been previously invalidated.
|
static long |
NotInteractive
Authentication failed because it would require showing UI which has been forbidden
by using interactionNotAllowed property.
|
static long |
PasscodeNotSet
Authentication could not start because passcode is not set on the device.
|
static long |
SystemCancel
Authentication was canceled by system (e.g.
|
static long |
TouchIDLockout
Authentication was not successful because there were too many failed Touch ID attempts and
Touch ID is now locked.
|
static long |
TouchIDNotAvailable
Authentication could not start because Touch ID is not available on the device.
|
static long |
TouchIDNotEnrolled
Authentication could not start because Touch ID has no enrolled fingers.
|
static long |
UserCancel
Authentication was canceled by user (e.g.
|
static long |
UserFallback
Authentication was canceled because the user tapped the fallback button (Enter Password).
|
public static final long AuthenticationFailed
public static final long UserCancel
public static final long UserFallback
public static final long SystemCancel
public static final long PasscodeNotSet
public static final long TouchIDNotAvailable
public static final long TouchIDNotEnrolled
public static final long TouchIDLockout
public static final long AppCancel
public static final long InvalidContext
public static final long BiometryNotAvailable
public static final long BiometryNotEnrolled
public static final long BiometryLockout
public static final long NotInteractive