public static enum AddpDevice.AddpError extends Enum<AddpDevice.AddpError>
| Enum Constant and Description |
|---|
AUTHENTICATON_FAILED |
INVALID_DATA |
INVALID_VALUE |
NO_RESPONSE |
SUCCESS |
UNIT_HAS_ADDRESS |
UNKNOWN |
UNSUPPORTED_COMMAND |
| Modifier and Type | Method and Description |
|---|---|
static AddpDevice.AddpError |
getType(int i) |
int |
getValue() |
static AddpDevice.AddpError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddpDevice.AddpError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddpDevice.AddpError NO_RESPONSE
public static final AddpDevice.AddpError UNKNOWN
public static final AddpDevice.AddpError SUCCESS
public static final AddpDevice.AddpError AUTHENTICATON_FAILED
public static final AddpDevice.AddpError UNIT_HAS_ADDRESS
public static final AddpDevice.AddpError INVALID_VALUE
public static final AddpDevice.AddpError INVALID_DATA
public static final AddpDevice.AddpError UNSUPPORTED_COMMAND
public static AddpDevice.AddpError[] values()
for (AddpDevice.AddpError c : AddpDevice.AddpError.values()) System.out.println(c);
public static AddpDevice.AddpError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static AddpDevice.AddpError getType(int i)