Sl4aBluetoothUtil.สถานะการเชื่อมต่อ Bluetooth

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 สำหรับสถานะการเชื่อมต่อ Bluetooth ซึ่งอิงตาม 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

วิธีการสาธารณะ

รับสถานะ

public int getState ()

การส่งคืน
int

มูลค่าของ

public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)

พารามิเตอร์
name String

การส่งคืน
Sl4aBluetoothUtil.BluetoothConnectionState

ค่านิยม

public static final BluetoothConnectionState[] values ()

การส่งคืน
BluetoothConnectionState[]