Enum BiometricAvailability.Unavailable.Reason
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum BiometricAvailability.Unavailable.Reason extends Enum<BiometricAvailability.Unavailable.Reason>
An enum describing why biometrics are unavailable on this device
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final EnumEntries<BiometricAvailability.Unavailable.Reason>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description BIOMETRIC_KEY_GENERATION_FAILEDStatus indicating that the biometric key failed to generate. Biometrics cannot proceed.
BIOMETRIC_ERROR_NO_HARDWAREStatus indicating that this device has no biometric hardware.
BIOMETRIC_ERROR_HW_UNAVAILABLEStatus indicating that biometric hardware features are currently unavailable.
BIOMETRIC_ERROR_NONE_ENROLLEDStatus indicating that there are no biometrics currently enrolled on device.
BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIREDStatus indicating that a security vulnerability has been discovered with one or more hardware sensors.
BIOMETRIC_ERROR_UNSUPPORTEDStatus indicating that the requested options are incompatible with the current Android version.
BIOMETRIC_STATUS_UNKNOWNStatus indicating that we do not know if biometrics are supported on this device.
-
Method Summary
Modifier and Type Method Description final BiometricAvailability.Unavailable.ReasonvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<BiometricAvailability.Unavailable.Reason>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetMessage()a string representation of why biometrics are unavailable final EnumEntries<BiometricAvailability.Unavailable.Reason>getEntries()An enum describing why biometrics are unavailable on this device -
-
Method Detail
-
valueOf
final BiometricAvailability.Unavailable.Reason valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<BiometricAvailability.Unavailable.Reason> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getMessage
final String getMessage()
a string representation of why biometrics are unavailable
-
getEntries
final EnumEntries<BiometricAvailability.Unavailable.Reason> getEntries()
An enum describing why biometrics are unavailable on this device
-
-
-
-