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 |
Enums cho các trạng thái kết nối Bluetooth dựa trên BluetoothProfile.java
Bản tóm tắt
giá trị liệt kê | |
---|---|
Sl4aBluetoothUtil.BluetoothConnectionState | CONNECTED |
Sl4aBluetoothUtil.BluetoothConnectionState | CONNECTING |
Sl4aBluetoothUtil.BluetoothConnectionState | DISCONNECTED |
Sl4aBluetoothUtil.BluetoothConnectionState | DISCONNECTING
|
Phương thức công khai | |
---|---|
int | getState () |
static Sl4aBluetoothUtil.BluetoothConnectionState | valueOf (String name) |
static final BluetoothConnectionState[] | values () |
giá trị liệt kê
ĐÃ KẾT NỐI
public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTED
ĐANG KẾT NỐI
public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTING
ĐÃ NGẮT KẾT NỐI
public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTED
Phương thức công khai
getState
public int getState ()
trả lại | |
---|---|
int |
giá trị của
public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)
Thông số | |
---|---|
name | String |
trả lại | |
---|---|
Sl4aBluetoothUtil.BluetoothConnectionState |
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2023-04-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]