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 int getState ()
退貨 | |
---|---|
int |
的價值
public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)
參數 | |
---|---|
name | String |
退貨 | |
---|---|
Sl4aBluetoothUtil.BluetoothConnectionState |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-04-28 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]