public static enum NfcCardReader.Error extends java.lang.Enum<NfcCardReader.Error>
Listener#onError(Error)
.Enum Constant and Description |
---|
CARD_UNSUPPORTED
The card is not supported by the
NfcCardReader . |
CONNECTION_LOST
The connection to the card was lost.
|
UNAVAILABLE
NFC is unavailable on the device.
|
Modifier and Type | Method and Description |
---|---|
static NfcCardReader.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NfcCardReader.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NfcCardReader.Error CARD_UNSUPPORTED
NfcCardReader
.public static final NfcCardReader.Error CONNECTION_LOST
public static final NfcCardReader.Error UNAVAILABLE
public static NfcCardReader.Error[] values()
for (NfcCardReader.Error c : NfcCardReader.Error.values()) System.out.println(c);
public static NfcCardReader.Error 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