Sl4aBluetoothUtil.BluetoothProfile
public static final enum Sl4aBluetoothUtil.BluetoothProfile
extends Enum< Sl4aBluetoothUtil.BluetoothProfile >
java.lang.Object | ||
↳ | java.lang.Enum< com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothProfile > | |
↳ | com.android.tradefed.util.Sl4aBluetoothUtil.BluetoothProfile |
基於BluetoothProfile.java
的藍牙設定檔的枚舉
概括
列舉值 | |
---|---|
Sl4aBluetoothUtil.BluetoothProfile | A2DP |
Sl4aBluetoothUtil.BluetoothProfile | A2DP_SINK |
Sl4aBluetoothUtil.BluetoothProfile | AVRCP_CONTROLLER |
Sl4aBluetoothUtil.BluetoothProfile | GATT |
Sl4aBluetoothUtil.BluetoothProfile | GATT_SERVER |
Sl4aBluetoothUtil.BluetoothProfile | HEADSET |
Sl4aBluetoothUtil.BluetoothProfile | HEADSET_CLIENT |
Sl4aBluetoothUtil.BluetoothProfile | HID_HOST |
Sl4aBluetoothUtil.BluetoothProfile | MAP |
Sl4aBluetoothUtil.BluetoothProfile | MAP_CLIENT |
Sl4aBluetoothUtil.BluetoothProfile | PAN |
Sl4aBluetoothUtil.BluetoothProfile | PBAP |
Sl4aBluetoothUtil.BluetoothProfile | PBAP_CLIENT |
Sl4aBluetoothUtil.BluetoothProfile | SAP
|
公共方法 | |
---|---|
int | getProfile () |
static Sl4aBluetoothUtil.BluetoothProfile | valueOf (String name) |
static Sl4aBluetoothUtil.BluetoothProfile | valueOfProfile (int profile) |
static final BluetoothProfile[] | values () |
列舉值
AVRCP_控制器
public static final Sl4aBluetoothUtil.BluetoothProfile AVRCP_CONTROLLER
HID_主機
public static final Sl4aBluetoothUtil.BluetoothProfile HID_HOST
MAP_CLIENT
public static final Sl4aBluetoothUtil.BluetoothProfile MAP_CLIENT
平底鍋
public static final Sl4aBluetoothUtil.BluetoothProfile PAN
PBAP_CLIENT
public static final Sl4aBluetoothUtil.BluetoothProfile PBAP_CLIENT
公共方法
取得個人資料
public int getProfile ()
退貨 | |
---|---|
int |
的價值
public static Sl4aBluetoothUtil.BluetoothProfile valueOf (String name)
參數 | |
---|---|
name | String |
退貨 | |
---|---|
Sl4aBluetoothUtil.BluetoothProfile |
輪廓值
public static Sl4aBluetoothUtil.BluetoothProfile valueOfProfile (int profile)
參數 | |
---|---|
profile | int |
退貨 | |
---|---|
Sl4aBluetoothUtil.BluetoothProfile |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[{
"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":"其他"
}]