public static enum BluetoothManager.State extends java.lang.Enum<BluetoothManager.State>
Enum Constant and Description |
---|
ERROR |
HEADSET_AVAILABLE |
HEADSET_UNAVAILABLE |
SCO_CONNECTED |
SCO_CONNECTING |
SCO_DISCONNECTING |
UNINITIALIZED |
Modifier and Type | Method and Description |
---|---|
static BluetoothManager.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BluetoothManager.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BluetoothManager.State UNINITIALIZED
public static final BluetoothManager.State ERROR
public static final BluetoothManager.State HEADSET_UNAVAILABLE
public static final BluetoothManager.State HEADSET_AVAILABLE
public static final BluetoothManager.State SCO_DISCONNECTING
public static final BluetoothManager.State SCO_CONNECTING
public static final BluetoothManager.State SCO_CONNECTED
public static BluetoothManager.State[] values()
for (BluetoothManager.State c : BluetoothManager.State.values()) System.out.println(c);
public static BluetoothManager.State 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 nullCopyright 2016, Sinch AB