public enum TransportType extends java.lang.Enum<TransportType>
Enum Constant and Description |
---|
BLE
The transport type is Bluetooth Low Energy
|
BLUETOOTH
The transport type is Bluetooth
|
NOT_SPECIFIED
The transport type is not specified
|
USB
The transport type is USB
|
Modifier and Type | Method and Description |
---|---|
static TransportType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportType NOT_SPECIFIED
public static final TransportType BLUETOOTH
public static final TransportType USB
public static final TransportType BLE
public static TransportType[] values()
for (TransportType c : TransportType.values()) System.out.println(c);
public static TransportType 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 null