Google is committed to advancing racial equity for Black communities. See how.

BiometricManager.Authenticators

public static interface BiometricManager.Authenticators

androidx.biometric.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

int BIOMETRIC_STRONG

Any biometric (e.g.

int BIOMETRIC_WEAK

Any biometric (e.g.

int DEVICE_CREDENTIAL

The non-biometric credential used to secure the device (i.e.

Constants

BIOMETRIC_STRONG

public static final int BIOMETRIC_STRONG

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.

Constant Value: 15 (0x0000000f)

BIOMETRIC_WEAK

public static final int BIOMETRIC_WEAK

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.

Constant Value: 255 (0x000000ff)

DEVICE_CREDENTIAL

public static final int DEVICE_CREDENTIAL

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.

Constant Value: 32768 (0x00008000)