public enum DeviceResponse extends Enum<DeviceResponse>
Enum Constant and Description |
---|
DeviceBusy
1800 device is busy.
|
DeviceTimeOut
1800 device timed out.
|
OperationFail
Operation failed.
|
OperationFinish
Operation finish.
|
OperationSuccess
Operation succeeded.
|
TagLock
Scan tag is locked
|
Modifier and Type | Method and Description |
---|---|
static DeviceResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceResponse OperationSuccess
public static final DeviceResponse OperationFail
public static final DeviceResponse OperationFinish
public static final DeviceResponse DeviceTimeOut
public static final DeviceResponse DeviceBusy
public static final DeviceResponse TagLock
public static DeviceResponse[] values()
for (DeviceResponse c : DeviceResponse.values()) System.out.println(c);
public static DeviceResponse 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 null