Sl4aBluetoothUtil.BluetoothConnectionState

public static final enum Sl4aBluetoothUtil.BluetoothConnectionState
extends Enum<Sl4aBluetoothUtil.BluetoothConnectionState>

java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothConnectionState>
     ↳ com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothConnectionState


藍牙連線狀態的列舉 (取決於 BluetoothProfile.java)

摘要

列舉值

Sl4aBluetoothUtil.BluetoothConnectionState  CONNECTED

 

Sl4aBluetoothUtil.BluetoothConnectionState  CONNECTING

 

Sl4aBluetoothUtil.BluetoothConnectionState  DISCONNECTED

 

Sl4aBluetoothUtil.BluetoothConnectionState  DISCONNECTING

 

公用方法

int getState()
static Sl4aBluetoothUtil.BluetoothConnectionState valueOf(String name)
static final BluetoothConnectionState[] values()

列舉值

已連線

public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTED

連線中

public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTING

連線中斷

public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTED

正在中斷連線

public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTING

公用方法

getState

public int getState ()

傳回
int

public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)

參數
name String

傳回
Sl4aBluetoothUtil.BluetoothConnectionState

public static final BluetoothConnectionState[] values ()

傳回
BluetoothConnectionState[]