public enum BondState

  1. Object
  2. Enum<BondState>
  3. BondState

ImplementsComparable<BondState>

Pairing state of a remote BluetoothDevice. On iOS bonding is fully OS-managed (triggered on first access to an encrypted characteristic), so devices there usually report NONE even when the OS holds a bond.

Enum constants

NONENo bond exists with this device.
BONDINGPairing is in progress.
BONDEDThe device is bonded/paired with this adapter.

Methods

public static BondState[] values()
public static BondState valueOf(String name)

Inherited methods

Enum constant details

NONE

NONE
No bond exists with this device.

BONDING

BONDING
Pairing is in progress.

BONDED

BONDED
The device is bonded/paired with this adapter.

Method details

values

public static BondState[] values()

valueOf

public static BondState valueOf(String name)