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 สำหรับสถานะการเชื่อมต่อบลูทูธซึ่งอิงตาม BluetoothProfile.java

สรุป

ค่า enum

Sl4aBluetoothUtil.BluetoothConnectionState  CONNECTED

 

Sl4aBluetoothUtil.BluetoothConnectionState  CONNECTING

 

Sl4aBluetoothUtil.BluetoothConnectionState  DISCONNECTED

 

Sl4aBluetoothUtil.BluetoothConnectionState  DISCONNECTING

 

เมธอดสาธารณะ

int getState()
static Sl4aBluetoothUtil.BluetoothConnectionState valueOf(String name)
static final BluetoothConnectionState[] values()

ค่า enum

เชื่อมต่อแล้ว

public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTED

กำลังเชื่อมต่อ

public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTING

ยกเลิกการเชื่อมต่อแล้ว

public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTED

กำลังยกเลิกการเชื่อมต่อ

public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTING

เมธอดสาธารณะ

getState

public int getState ()

คิกรีเทิร์น
int

valueOf

public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)

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

คิกรีเทิร์น
Sl4aBluetoothUtil.BluetoothConnectionState

values

public static final BluetoothConnectionState[] values ()

คิกรีเทิร์น
BluetoothConnectionState[]