public static enum ScannerInfo.ConnectionType extends Enum<ScannerInfo.ConnectionType>
Example Usage: ConnectionType.INTERNAL;
Enum Constant and Description |
---|
BLUETOOTH_SSI
The scanner device connected via Bluetooth to the mobile device.
|
INTERNAL
The scanner device connected internally within the mobile device.
|
PLUGGABLE_SSI
The scanner device connected via pluggable SSI to the mobile device.
|
SERIAL_SSI
The scanner device connected via serial SSI to the mobile device.
|
UNDEFINED
Connection type is not defined.
|
USB
The scanner device connected via USB to the mobile device.
|
Modifier and Type | Method and Description |
---|---|
static ScannerInfo.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerInfo.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerInfo.ConnectionType INTERNAL
public static final ScannerInfo.ConnectionType BLUETOOTH_SSI
public static final ScannerInfo.ConnectionType SERIAL_SSI
public static final ScannerInfo.ConnectionType USB
public static final ScannerInfo.ConnectionType PLUGGABLE_SSI
public static final ScannerInfo.ConnectionType UNDEFINED
public static ScannerInfo.ConnectionType[] values()
for (ScannerInfo.ConnectionType c : ScannerInfo.ConnectionType.values()) System.out.println(c);
public static ScannerInfo.ConnectionType 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