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 biometrics or not. This includes fingerprint biometrics type.- Since:
- 1.0
- Version:
- 1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDROID_VERSION_NOT_SUPPORTEDThe SDK will return this error if the firmware version is less thanAndroid 6.0NO_BIOMETRIC_ENROLLEDThe SDK will return this error if the end-user did not yet enroll his/her biometrics e id into the Android settings.NO_BIOMETRIC_SENSORThe SDK will return this error if there is no biometrics sensor installed into the device.PERMISSION_NOT_GRANTEDAn error returned if the biometrics permission in the Android manifest is not defined / granted.SECURE_LOCK_NOT_PRESENTEDAn error returned if biometrics 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 biometrics 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 will return this error if the firmware version is less thanAndroid 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 nameNullPointerException- if the argument is null
-
getIsBiometricsSupport
public String getIsBiometricsSupport()
-
-