public class BondStateEvent
extends java.lang.Object
BluetoothDevice
.
Possible state values are:
BluetoothDevice.BOND_NONE
,
BluetoothDevice.BOND_BONDING
,
BluetoothDevice.BOND_BONDED
Constructor and Description |
---|
BondStateEvent(int state,
int previousState,
android.bluetooth.BluetoothDevice bluetoothDevice) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
android.bluetooth.BluetoothDevice |
getBluetoothDevice() |
int |
getPreviousState() |
int |
getState() |
int |
hashCode() |
java.lang.String |
toString() |
public BondStateEvent(int state, int previousState, android.bluetooth.BluetoothDevice bluetoothDevice)
public int getState()
public int getPreviousState()
public android.bluetooth.BluetoothDevice getBluetoothDevice()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object