Enum Class BiometricResult.Method
- All Implemented Interfaces:
Serializable, Comparable<BiometricResult.Method>, Constable
- Enclosing class:
BiometricResult
How the user passed a check.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA biometric: the prompt accepted biometrics only, so nothing else can have passed.The device credential (passcode, PIN, pattern or password).No check was made: iiziRun Developer's biometric emulation answered, and the prompt allowed it on a development server.The check failed: see the error.A biometric or the device credential: the prompt allowed the device credential and the plugin does not tell which one the user used.Method Summary
Modifier and TypeMethodDescriptionstatic BiometricResult.MethodReturns the enum constant of this class with the specified name.static BiometricResult.Method[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
BIOMETRIC
A biometric: the prompt accepted biometrics only, so nothing else can have passed.DEVICE_CREDENTIAL
The device credential (passcode, PIN, pattern or password). Reserved: the plugin's version 6.0.1 does not tell, so a prompt that allowed the device credential answersUNKNOWN.UNKNOWN
A biometric or the device credential: the prompt allowed the device credential and the plugin does not tell which one the user used.EMULATED
No check was made: iiziRun Developer's biometric emulation answered, and the prompt allowed it on a development server.NONE
The check failed: see the error.
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