public enum SecureNfcResults extends 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 |
---|---|
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,
String discription) |
static SecureNfcResults |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SecureNfcResults getSmartcardResult(int id)
public int getValue()
public String getDescription()
public void setValue(int id, String discription)