public static enum DeviceProperties.BTProtocol extends java.lang.Enum<DeviceProperties.BTProtocol>
Enum to provide the type of last connected BT device.
| Modifier and Type | Field and Description |
|---|---|
int |
_protocol |
| Modifier and Type | Method and Description |
|---|---|
static DeviceProperties.BTProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceProperties.BTProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceProperties.BTProtocol Apple
public static final DeviceProperties.BTProtocol NA
public static final DeviceProperties.BTProtocol SPP
public static DeviceProperties.BTProtocol 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 nullpublic static DeviceProperties.BTProtocol[] values()
for (DeviceProperties.BTProtocol c : DeviceProperties.BTProtocol.values()) System.out.println(c);