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