public enum ADPDDevice extends java.lang.Enum<ADPDDevice> implements BaseEnum
Enum Constant and Description |
---|
DEVICE_BLUE |
DEVICE_G_R_IR_B |
DEVICE_GREEN |
DEVICE_INFRARED |
DEVICE_RED |
NULL |
REF |
Modifier and Type | Method and Description |
---|---|
static ADPDDevice |
getEnum(byte[] data) |
byte[] |
getID() |
ADPDDevice |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static ADPDDevice |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ADPDDevice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ADPDDevice REF
public static final ADPDDevice NULL
public static final ADPDDevice DEVICE_GREEN
public static final ADPDDevice DEVICE_RED
public static final ADPDDevice DEVICE_INFRARED
public static final ADPDDevice DEVICE_BLUE
public static final ADPDDevice DEVICE_G_R_IR_B
public static ADPDDevice[] values()
for (ADPDDevice c : ADPDDevice.values()) System.out.println(c);
public static ADPDDevice 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 ADPDDevice getEnum(byte[] data)
public ADPDDevice getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public java.lang.String toString()
toString
in class java.lang.Enum<ADPDDevice>