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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.