public static enum ReaderEvent.EventType extends java.lang.Enum<ReaderEvent.EventType>
Enum Constant and Description |
---|
CARD_INSERTED
A card has been inserted.
|
CARD_MATCHED
A card has been inserted and the default requests process has been successfully operated.
|
CARD_REMOVED
The card has been removed and is no longer able to communicate with the reader
|
UNREGISTERED
The reader has been unregistered
|
Modifier and Type | Method and Description |
---|---|
static ReaderEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReaderEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReaderEvent.EventType CARD_INSERTED
public static final ReaderEvent.EventType CARD_MATCHED
public static final ReaderEvent.EventType CARD_REMOVED
public static final ReaderEvent.EventType UNREGISTERED
public static ReaderEvent.EventType[] values()
for (ReaderEvent.EventType c : ReaderEvent.EventType.values()) System.out.println(c);
public static ReaderEvent.EventType 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 null