public enum DeviceOptionType extends java.lang.Enum<DeviceOptionType> implements IEnumType
Enum Constant and Description |
---|
Barcode1D |
Barcode2D |
BT_BLE |
BT_HID |
BT_IAP |
BT_SPP |
Customer |
GPS |
HW_Revision |
LCD |
Memory |
RFID_HF |
RFID_UHF |
RTC |
Unknown |
USB_HID |
USB_VCP |
WLAN |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the enum code value
|
java.lang.String |
getType() |
java.lang.String |
toString()
Return the name of the enum
|
static DeviceOptionType |
valueOf(int code)
Returns the enum constant of this type with the specified code.
|
static DeviceOptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceOptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceOptionType Unknown
public static final DeviceOptionType Barcode1D
public static final DeviceOptionType Barcode2D
public static final DeviceOptionType RFID_HF
public static final DeviceOptionType RFID_UHF
public static final DeviceOptionType BT_HID
public static final DeviceOptionType BT_SPP
public static final DeviceOptionType BT_BLE
public static final DeviceOptionType BT_IAP
public static final DeviceOptionType USB_HID
public static final DeviceOptionType USB_VCP
public static final DeviceOptionType GPS
public static final DeviceOptionType RTC
public static final DeviceOptionType Memory
public static final DeviceOptionType LCD
public static final DeviceOptionType WLAN
public static final DeviceOptionType Customer
public static final DeviceOptionType HW_Revision
public static DeviceOptionType[] values()
for (DeviceOptionType c : DeviceOptionType.values()) System.out.println(c);
public static DeviceOptionType 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 int getCode()
IEnumType
public java.lang.String getType()
public java.lang.String toString()
IEnumType
toString
in interface IEnumType
toString
in class java.lang.Enum<DeviceOptionType>
public static DeviceOptionType valueOf(int code)
code
- The code to check