Package com.gemalto.mfs.mwsdk.cdcvm
Enum DeviceKeyguardSupport
- java.lang.Object
-
- java.lang.Enum<DeviceKeyguardSupport>
-
- com.gemalto.mfs.mwsdk.cdcvm.DeviceKeyguardSupport
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DeviceKeyguardSupport>
public enum DeviceKeyguardSupport extends java.lang.Enum<DeviceKeyguardSupport>
An enum that identified if the device is capable of supporting the device keyguard as CHVerificationMethod.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDROID_VERSION_NOT_SUPPORTED
The SDK will return this error if the firmware version is less than Android 6.0.SECURE_LOCK_NOT_PRESENTED
An error returned if Secure lock (PIN, Password or Pattern) is not enabled in the device.SUPPORTED
The SDK can fully support the use of device keyguard as CHVerificationMethod feature.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
String representation of the Enum.static DeviceKeyguardSupport
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DeviceKeyguardSupport[]
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 DeviceKeyguardSupport ANDROID_VERSION_NOT_SUPPORTED
The SDK will return this error if the firmware version is less than Android 6.0.
-
SECURE_LOCK_NOT_PRESENTED
public static final DeviceKeyguardSupport SECURE_LOCK_NOT_PRESENTED
An error returned if Secure lock (PIN, Password or Pattern) is not enabled in the device.
-
SUPPORTED
public static final DeviceKeyguardSupport SUPPORTED
The SDK can fully support the use of device keyguard as CHVerificationMethod feature.
-
-
Method Detail
-
values
public static DeviceKeyguardSupport[] 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 (DeviceKeyguardSupport c : DeviceKeyguardSupport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceKeyguardSupport valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
String representation of the Enum.- Overrides:
toString
in classjava.lang.Enum<DeviceKeyguardSupport>
- Returns:
- String representation of the Enum.
-
-