Enum BiometricsSupport

    • Enum Constant Detail

      • ANDROID_VERSION_NOT_SUPPORTED

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

        public static final BiometricsSupport NO_BIOMETRIC_SENSOR
        The SDK will return this error if there is no biometrics sensor installed into the device.
      • NO_BIOMETRIC_ENROLLED

        public static final BiometricsSupport NO_BIOMETRIC_ENROLLED
        The SDK will return this error if the end-user did not yet enroll his/her biometrics e id into the Android settings.
        NOTE: MPA to decide the responsibility for the enrollment of the biometrics data in the Android settings.
      • PERMISSION_NOT_GRANTED

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

        public static final BiometricsSupport SUPPORTED
        The SDK can fully support the use of biometrics features including fingerprint and face id.
      • SECURE_LOCK_NOT_PRESENTED

        public static final BiometricsSupport SECURE_LOCK_NOT_PRESENTED
        An error returned if biometrics is supported and available but secure lock (PIN, Password or Pattern) is not enabled in the device. *
        NOTE: There is device dependant setting that few devices support to keep biometrics while having non secure screen lock
    • Method Detail

      • values

        public static BiometricsSupport[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BiometricsSupport c : BiometricsSupport.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BiometricsSupport valueOf​(String name)
        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.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getIsBiometricsSupport

        public String getIsBiometricsSupport()