public static enum BarcodeManager.ConnectionState extends Enum<BarcodeManager.ConnectionState>
Enum Constant and Description |
---|
CONNECTED
Indicates that a pluggable scanner was connected.
|
DISCONNECTED
Indicates that a pluggable scanner was removed and no longer avail for scanning.
|
Modifier and Type | Method and Description |
---|---|
static BarcodeManager.ConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BarcodeManager.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BarcodeManager.ConnectionState CONNECTED
public static final BarcodeManager.ConnectionState DISCONNECTED
public static BarcodeManager.ConnectionState[] values()
for (BarcodeManager.ConnectionState c : BarcodeManager.ConnectionState.values()) System.out.println(c);
public static BarcodeManager.ConnectionState 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