Package com.thalesgroup.tmgsdk.model
Enum BiometricsSupport
- java.lang.Object
-
- java.lang.Enum<BiometricsSupport>
-
- com.thalesgroup.tmgsdk.model.BiometricsSupport
-
- All Implemented Interfaces:
Serializable,Comparable<BiometricsSupport>
public enum BiometricsSupport extends Enum<BiometricsSupport>
An enum that identifies if the device is capable of supporting the biometric features such as fingerprint mapping.- Since:
- 1.0
- Version:
- 1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDROID_VERSION_NOT_SUPPORTEDThe SDK returns this error if the firmware version is less thanAndroid 6.0.NO_BIOMETRIC_ENROLLEDThe SDK returns this error if the end user has not enrolled any biometric data in the device settings.NO_BIOMETRIC_SENSORThe SDK returns this error if no biometrics sensor is installed in the device.PERMISSION_NOT_GRANTEDAn error is returned if the biometric permission in the Android manifest file is not defined or granted.SECURE_LOCK_NOT_PRESENTEDAn error is returned if biometric is supported and available but secure lock (PIN, password or pattern) is not enabled in the device.SUPPORTEDThe SDK can fully support the use of biometric features including fingerprint and face ID.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIsBiometricsSupport()static BiometricsSupportvalueOf(String name)Returns the enum constant of this type with the specified name.static BiometricsSupport[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANDROID_VERSION_NOT_SUPPORTED
public static final BiometricsSupport ANDROID_VERSION_NOT_SUPPORTED
The SDK returns this error if the firmware version is less thanAndroid 6.0.
-
NO_BIOMETRIC_SENSOR
public static final BiometricsSupport NO_BIOMETRIC_SENSOR
The SDK returns this error if no biometrics sensor is installed in the device.
-
NO_BIOMETRIC_ENROLLED
public static final BiometricsSupport NO_BIOMETRIC_ENROLLED
The SDK returns this error if the end user has not enrolled any biometric data in the device settings.
NOTE: MPA to decide the responsibility on the enrollment of the biometrics data in the device settings.
-
PERMISSION_NOT_GRANTED
public static final BiometricsSupport PERMISSION_NOT_GRANTED
An error is returned if the biometric permission in the Android manifest file is not defined or granted.
-
SUPPORTED
public static final BiometricsSupport SUPPORTED
The SDK can fully support the use of biometric features including fingerprint and face ID.
-
SECURE_LOCK_NOT_PRESENTED
public static final BiometricsSupport SECURE_LOCK_NOT_PRESENTED
An error is returned if biometric is supported and available but secure lock (PIN, password or pattern) is not enabled in the device. *
NOTE: There is a device-dependent setting on certain devices which supports biometrics while having a 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 nameNullPointerException- if the argument is null
-
getIsBiometricsSupport
public String getIsBiometricsSupport()
-
-