Language

BiometricCode Enum

Definition

public enum BiometricCode
type BiometricCode = 
Inheritance
BiometricCode

Fields

Name Value Description
Success 0

No error detected.

Android reference for android.hardware.biometrics.BiometricManager.BIOMETRIC_SUCCESS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorHwUnavailable 1

The hardware is unavailable. Try again later.

Android reference for android.hardware.biometrics.BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorNoneEnrolled 11

The user does not have any biometrics enrolled.

Android reference for android.hardware.biometrics.BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorNoHardware 12

There is no biometric hardware.

Android reference for android.hardware.biometrics.BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorSecurityUpdateRequired 15

A security vulnerability has been discovered and the sensor is unavailable until a security update has addressed this issue. This error can be received if for example, authentication was requested with Authenticators.BIOMETRIC_STRONG, but the sensor's strength can currently only meet Authenticators.BIOMETRIC_WEAK.

Android reference for android.hardware.biometrics.BiometricManager.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorIdentityCheckNotActive 20

Identity Check is currently not active. This device either doesn't have this feature enabled, or it's not considered in a high-risk environment that requires extra security measures for accessing sensitive data.

Android reference for android.hardware.biometrics.BiometricManager.BIOMETRIC_ERROR_IDENTITY_CHECK_NOT_ACTIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ErrorNotEnabledForApps 21

Biometrics is not allowed to verify the user in apps.

Android reference for android.hardware.biometrics.BiometricManager.BIOMETRIC_ERROR_NOT_ENABLED_FOR_APPS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to