public enum SecureNfcResults extends java.lang.Enum<SecureNfcResults>
Enum Constant and Description |
---|
EMDK_NOT_OPENED
The EMDK is not opened.
|
FAILURE
Failure
|
SUCCESS
Success
|
UNDEFINED
Error code not defined.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description for the error.
|
static SecureNfcResults |
getSmartcardResult(int id) |
int |
getValue()
This method provides integer value assigned to the enum.
|
void |
setValue(int id,
java.lang.String discription) |
static SecureNfcResults |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecureNfcResults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecureNfcResults SUCCESS
public static final SecureNfcResults FAILURE
public static final SecureNfcResults EMDK_NOT_OPENED
public static final SecureNfcResults UNDEFINED
public static SecureNfcResults[] values()
for (SecureNfcResults c : SecureNfcResults.values()) System.out.println(c);
public static SecureNfcResults valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SecureNfcResults getSmartcardResult(int id)
public int getValue()
public java.lang.String getDescription()
public void setValue(int id, java.lang.String discription)