public enum RFReturnCode extends java.lang.Enum<RFReturnCode>
| Enum Constant and Description |
|---|
CONNECTION_FAILED |
DEVICE_BUSY |
DISCONNECTED |
INTERNAL_ERROR |
SUCCESS |
TIMEOUT |
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
static RFReturnCode |
getEnum(byte value) |
static RFReturnCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RFReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RFReturnCode SUCCESS
public static final RFReturnCode INTERNAL_ERROR
public static final RFReturnCode DEVICE_BUSY
public static final RFReturnCode CONNECTION_FAILED
public static final RFReturnCode DISCONNECTED
public static final RFReturnCode TIMEOUT
public static RFReturnCode[] values()
for (RFReturnCode c : RFReturnCode.values()) System.out.println(c);
public static RFReturnCode 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 RFReturnCode getEnum(byte value)