Variable BiometricStatusConst

BiometricStatus: {
    HARDWARE_UNAVAILABLE: "hardware_unavailable";
    NONE_ENROLLED: "none_enrolled";
    NO_HARDWARE: "no_hardware";
    SECURITY_UPDATE_REQUIRED: "security_update_required";
    SUPPORTED: "supported";
    UNKNOWN: "unknown";
    UNSUPPORTED: "unsupported";
} = ...

Types of authenticators, defined at a level of granularity supported by BiometricManager.

Type declaration

  • ReadonlyHARDWARE_UNAVAILABLE: "hardware_unavailable"

    Biometric features are currently unavailable.

  • ReadonlyNONE_ENROLLED: "none_enrolled"

    Biometric authentication isn't set up.

  • ReadonlyNO_HARDWARE: "no_hardware"

    No biometric features available on this device.

  • ReadonlySECURITY_UPDATE_REQUIRED: "security_update_required"

    The user can't authenticate because a security vulnerability has been discovered with one or more hardware sensors. The affected sensor(s) are unavailable until a security update has addressed the issue.

  • ReadonlySUPPORTED: "supported"

    App can authenticate using biometrics.

  • ReadonlyUNKNOWN: "unknown"

    Unable to determine whether the user can authenticate.

    This status code may be returned on older Android versions due to partial incompatibility with a newer API.

  • ReadonlyUNSUPPORTED: "unsupported"

    The user can't authenticate because the specified options are incompatible with the current Android version.