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


Enum untuk status koneksi Bluetooth yang didasarkan pada BluetoothProfile.java

Ringkasan

Nilai enum

Sl4aBluetoothUtil.BluetoothConnectionState  CONNECTED

 

Sl4aBluetoothUtil.BluetoothConnectionState  CONNECTING

 

Sl4aBluetoothUtil.BluetoothConnectionState  DISCONNECTED

 

Sl4aBluetoothUtil.BluetoothConnectionState  DISCONNECTING

 

Metode publik

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

Nilai enum

TERHUBUNG

public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTED

MENGHUBUNGKAN

public static final Sl4aBluetoothUtil.BluetoothConnectionState CONNECTING

TERPUTUS

public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTED

MEMUTUS KONEKSI

public static final Sl4aBluetoothUtil.BluetoothConnectionState DISCONNECTING

Metode publik

getState

public int getState ()

Hasil
int

nilai

public static Sl4aBluetoothUtil.BluetoothConnectionState valueOf (String name)

Parameter
name String

Hasil
Sl4aBluetoothUtil.BluetoothConnectionState

nilai-nilai

public static final BluetoothConnectionState[] values ()

Hasil
BluetoothConnectionState[]