Enum Class IBiometricAuthentication.DeviceCredential
java.lang.Object
java.lang.Enum<IBiometricAuthentication.DeviceCredential>
com.iizix.gyro.IBiometricAuthentication.DeviceCredential
- All Implemented Interfaces:
Serializable, Comparable<IBiometricAuthentication.DeviceCredential>, Constable
- Enclosing interface:
IBiometricAuthentication
public static enum IBiometricAuthentication.DeviceCredential extends Enum<IBiometricAuthentication.DeviceCredential>
Whether the device has a credential (passcode, PIN, pattern or password) that a prompt may let stand in for a biometric.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe device has one: iOS answered the plugin'sisAvailablewithallowBackup, or Android has a biometric enrolled (which needs a secure lock screen).iOS reported none (no passcode set).Not known: Android without an enrolled biometric cannot be asked through the plugin, the plugin is absent, or the client has not reported.Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
AVAILABLE
The device has one: iOS answered the plugin'sisAvailablewithallowBackup, or Android has a biometric enrolled (which needs a secure lock screen).UNAVAILABLE
iOS reported none (no passcode set).UNKNOWN
Not known: Android without an enrolled biometric cannot be asked through the plugin, the plugin is absent, or the client has not reported.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null