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