public enum MifarePlusSL3Results extends java.lang.Enum<MifarePlusSL3Results>
Enum Constant and Description |
---|
ACCESSING_EMPTY_BLOCK
The application is trying to perform operation or access the block on the tag which is empty or null.
|
ALREADY_ENABLED
The tag is already enabled.
|
AUTHENTICATION_ERROR
The tag is not authenticated or not allowed to peform operations
requested.
|
BLOCK_NOT_EXISTS
The block using for the operation does not exist on the tag.
|
EMDK_NOT_OPENED
The EMDK is not opened.
|
FAILURE
Failure
|
INVALID_BLOCK_NUMBER
The block using for the operation is not valid.
|
INVALID_MAC
Invalid Mac in command or response
|
INVALID_VALUE
The value or parameter passed is invalid.
|
INVALID_VALUE_BLOCK
The block used for the increment /decrement/transfer is not a valid value
block.
|
NOT_ENABLED
The connection to the Tag is not enabled.
|
NOT_SUPPORTED_COMMAND
The current command not supported for the current card state i.e., the
application is trying to perform the operation which is not supported for
MifarePlus Security level 3.
|
PARAM_NOT_SUPPORTED
The parameter not supported.
|
RW_OPERATIONS_LIMIT_EXCEEDED
The number of read or write operation is exceeded for the current session
|
SAM_AUTHENTICATION_ERROR
The application is trying to use the key which is not valid or not
present on the SAM.
|
SUCCESS
Success
|
TAG_LOST
Tag lost
|
TAG_MEMORY_ERROR
The requested operation cannot be performed on the block either due to
overflow or underflow of the block memory
|
UNDEFINED
Undefined
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description for the error.
|
static MifarePlusSL3Results |
getResult(int id) |
int |
getValue()
This method provides integer value assigned to the enum.
|
static MifarePlusSL3Results |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MifarePlusSL3Results[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MifarePlusSL3Results SUCCESS
public static final MifarePlusSL3Results FAILURE
public static final MifarePlusSL3Results EMDK_NOT_OPENED
public static final MifarePlusSL3Results NOT_ENABLED
public static final MifarePlusSL3Results AUTHENTICATION_ERROR
public static final MifarePlusSL3Results RW_OPERATIONS_LIMIT_EXCEEDED
public static final MifarePlusSL3Results INVALID_MAC
public static final MifarePlusSL3Results INVALID_BLOCK_NUMBER
public static final MifarePlusSL3Results BLOCK_NOT_EXISTS
public static final MifarePlusSL3Results NOT_SUPPORTED_COMMAND
public static final MifarePlusSL3Results ACCESSING_EMPTY_BLOCK
public static final MifarePlusSL3Results ALREADY_ENABLED
public static final MifarePlusSL3Results TAG_LOST
public static final MifarePlusSL3Results TAG_MEMORY_ERROR
public static final MifarePlusSL3Results INVALID_VALUE
public static final MifarePlusSL3Results INVALID_VALUE_BLOCK
public static final MifarePlusSL3Results SAM_AUTHENTICATION_ERROR
public static final MifarePlusSL3Results PARAM_NOT_SUPPORTED
public static final MifarePlusSL3Results UNDEFINED
public static MifarePlusSL3Results[] values()
for (MifarePlusSL3Results c : MifarePlusSL3Results.values()) System.out.println(c);
public static MifarePlusSL3Results 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 MifarePlusSL3Results getResult(int id)
public int getValue()
public java.lang.String getDescription()