Enum Class BiometricsSupport

java.lang.Object
java.lang.Enum<BiometricsSupport>
com.gemalto.mfs.mwsdk.cdcvm.BiometricsSupport
All Implemented Interfaces:
Serializable, Comparable<BiometricsSupport>, Constable

public enum BiometricsSupport extends Enum<BiometricsSupport>
An enum that identifies if the device is capable of supporting the biometrics. This includes the fingerprint biometrics type.
  • Enum Constant Details

    • ANDROID_VERSION_NOT_SUPPORTED

      public static final BiometricsSupport ANDROID_VERSION_NOT_SUPPORTED
      The SDK will return this error if the firmware version is lower than Android 6.0.
    • NO_FINGERPRINT_SENSOR

      public static final BiometricsSupport NO_FINGERPRINT_SENSOR
      The SDK will return this error if no fingerprint sensor is installed in the device.
    • NO_FINGERPRINT_ENROLLED

      public static final BiometricsSupport NO_FINGERPRINT_ENROLLED
      The SDK will return this error if the end user does not enroll the fingerprints into the Android settings.
      NOTE: MPA to decide the responsibility for the enrollment of the fingerprint data in the Android settings.
    • PERMISSION_NOT_GRANTED

      public static final BiometricsSupport PERMISSION_NOT_GRANTED
      An error is returned if the biometric fingerprint permission in the Android manifest file is not defined/granted.
    • SUPPORTED

      public static final BiometricsSupport SUPPORTED
      The SDK fully supports the use of biometric features including fingerprints.
    • SECURE_LOCK_NOT_PRESENTED

      public static final BiometricsSupport SECURE_LOCK_NOT_PRESENTED
      An error is returned if the use of biometrics, or only biometric fingerprint is supported and available but the secure lock (PIN, Password or Pattern) is not enabled in the device. *
      NOTE: There is a device-dependent setting that supports biometrics or fingerprints to be kept on certain devices while having a non-secure screen lock.
    • SECURITY_UPDATE_REQUIRED

      public static final BiometricsSupport SECURITY_UPDATE_REQUIRED
      A security vulnerability has been discovered and the sensor is unavailable until a security update has addressed this issue. *
      NOTE: This error can be received if the sensor's strength matches a weak authenticator.
  • Method Details

    • values

      public static BiometricsSupport[] 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 BiometricsSupport 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
    • toString

      public String toString()
      String representation of the Enum.
      Overrides:
      toString in class Enum<BiometricsSupport>
      Returns:
      String representation of the Enum.