Authenticators
interface Authenticators
android.hardware.biometrics.BiometricManager.Authenticators |
Types of authenticators, defined at a level of granularity supported by BiometricManager
and BiometricPrompt
.
Types may combined via bitwise OR into a single integer representing multiple authenticators (e.g. DEVICE_CREDENTIAL | BIOMETRIC_WEAK
).
Summary
Constants | |
---|---|
static Int |
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for |
static Int |
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for |
static Int |
The non-biometric credential used to secure the device (i.e., PIN, pattern, or password). |
Constants
BIOMETRIC_STRONG
static val BIOMETRIC_STRONG: Int
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Class 3 (formerly Strong), as defined by the Android CDD.
This corresponds to KeyProperties#AUTH_BIOMETRIC_STRONG
during key generation.
Value: 15
BIOMETRIC_WEAK
static val BIOMETRIC_WEAK: Int
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Class 2 (formerly Weak), as defined by the Android CDD.
Note that this is a superset of BIOMETRIC_STRONG
and is defined such that BIOMETRIC_STRONG | BIOMETRIC_WEAK == BIOMETRIC_WEAK
.
Value: 255
DEVICE_CREDENTIAL
static val DEVICE_CREDENTIAL: Int
The non-biometric credential used to secure the device (i.e., PIN, pattern, or password). This should typically only be used in combination with a biometric auth type, such as BIOMETRIC_WEAK
.
This corresponds to KeyProperties#AUTH_DEVICE_CREDENTIAL
during key generation.
Value: 32768