Sl4a BluetoothUtil.Bl BluetoothConnectionState
public static final enum Sl4aBluetoothUtil.BluetoothConnectionState
extends Enum< Sl4aBluetoothUtil.BluetoothConnectionState >
java.lang.Object | ||
↳ | java.lang.Enum < com.android.tradefed.util.Sl4aBl BluetoothUtil.Bl BluetoothConnectionState > | |
↳ | com.android.tradefed.util.Sl4aBl BluetoothUtil.Bl BluetoothConnectionState |
Các trạng thái kết nối Bluetooth dựa trên BluetoothProfile.java
Tóm lược
Giá trị enum | |
---|---|
Sl4aBluetoothUtil.BluetoothConnectionState | CONNECTED |
Sl4aBluetoothUtil.BluetoothConnectionState | CONNECTING |
Sl4aBluetoothUtil.BluetoothConnectionState | DISCONNECTED |
Sl4aBluetoothUtil.BluetoothConnectionState | DISCONNECTING
|
Phương pháp công khai | |
---|---|
int | getState () |
static Sl4aBluetoothUtil.BluetoothConnectionState | valueOf (String name) |
static final BluetoothConnectionState[] | values () |
Giá trị enum
ĐÃ KẾT NỐI
public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTED
ĐANG KẾT NỐI
public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTING
KHÔNG KẾT NỐI
public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTED
KẾT NỐI
public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTING
Phương pháp công khai
getState
public int getState ()
Lợi nhuận | |
---|---|
int |
giá trị của
public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)
Thông số | |
---|---|
name | String |
Lợi nhuận | |
---|---|
Sl4aBluetoothUtil.BluetoothConnectionState |
giá trị
public static final BluetoothConnectionState[] values ()
Lợi nhuận | |
---|---|
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: 2020-09-08 UTC.
[]
[]