public static enum BluetoothMasClient.ConnectionState extends Enum<BluetoothMasClient.ConnectionState>
Enum Constant and Description |
---|
CONNECTED |
CONNECTING |
DISCONNECTED |
DISCONNECTING |
Modifier and Type | Method and Description |
---|---|
static BluetoothMasClient.ConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BluetoothMasClient.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BluetoothMasClient.ConnectionState DISCONNECTED
public static final BluetoothMasClient.ConnectionState CONNECTING
public static final BluetoothMasClient.ConnectionState CONNECTED
public static final BluetoothMasClient.ConnectionState DISCONNECTING
public static BluetoothMasClient.ConnectionState[] values()
for (BluetoothMasClient.ConnectionState c : BluetoothMasClient.ConnectionState.values()) System.out.println(c);
public static BluetoothMasClient.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