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

valueOf

public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)

参数
name String

返回
Sl4aBluetoothUtil.BluetoothConnectionState

values

public static final BluetoothConnectionState[] values ()

返回
BluetoothConnectionState[]