|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
ObjectEnum<NfcController.Mode>
org.opennfc.hardware.NfcController.Mode
public static enum NfcController.Mode
| Enum Constant Summary | |
|---|---|
ACTIVE
The NFC Controller is active. |
|
BOOT_PENDING
A boot procedure is pending. |
|
FIRMWARE_NOT_SUPPORTED
Maintenance mode, the version of the firmware is not supported by the stack |
|
LOADER_NOT_SUPPORTED
The version of the loader is not supported. |
|
MAINTENANCE
Maintenance mode, the firmware can be used. |
|
NO_FIRMWARE
Maintenance mode, no firmware is present. |
|
NOT_RESPONDING
The NFC Controller is not responding. |
|
STANDBY
The NFC Controller is in standby mode |
|
SWITCH_TO_ACTIVE
The NFC Controller is switching from standby mode to active mode |
|
SWITCH_TO_STANDBY
The NFC Controller is switching from active mode to standby mode |
|
| Method Summary | |
|---|---|
int |
getValue()
Returns the mode value. |
static NfcController.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NfcController.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NfcController.Mode BOOT_PENDING
public static final NfcController.Mode MAINTENANCE
public static final NfcController.Mode NO_FIRMWARE
public static final NfcController.Mode FIRMWARE_NOT_SUPPORTED
public static final NfcController.Mode NOT_RESPONDING
public static final NfcController.Mode LOADER_NOT_SUPPORTED
public static final NfcController.Mode ACTIVE
public static final NfcController.Mode SWITCH_TO_STANDBY
public static final NfcController.Mode STANDBY
public static final NfcController.Mode SWITCH_TO_ACTIVE
| Method Detail |
|---|
public static NfcController.Mode[] values()
for (NfcController.Mode c : NfcController.Mode.values()) System.out.println(c);
public static NfcController.Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getValue()
|
Copyright © 2010-2011 Inside Secure |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||