Enum Class BiometricResult.Method

java.lang.Object
java.lang.Enum<BiometricResult.Method>
com.iizix.gyro.BiometricResult.Method
All Implemented Interfaces:
Serializable, Comparable<BiometricResult.Method>, Constable
Enclosing class:
BiometricResult

public static enum BiometricResult.Method extends Enum<BiometricResult.Method>
How the user passed a check.
Author:
Christopher Mindus
  • Enum Constant Details

    • BIOMETRIC

      public static final BiometricResult.Method BIOMETRIC
      A biometric: the prompt accepted biometrics only, so nothing else can have passed.
    • DEVICE_CREDENTIAL

      public static final BiometricResult.Method 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 answers UNKNOWN.
    • UNKNOWN

      public static final BiometricResult.Method 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

      public static final BiometricResult.Method EMULATED
      No check was made: iiziRun Developer's biometric emulation answered, and the prompt allowed it on a development server.
    • NONE

      public static final BiometricResult.Method NONE
      The check failed: see the error.
  • Method Details

    • values

      public static BiometricResult.Method[] 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

      public static BiometricResult.Method valueOf(String name)
      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 name
      NullPointerException - if the argument is null