public interface BondListener extends GenericListener_Void<BondListener.BondEvent>
BleDevice.setListener_Bond(BondListener)
or BleDevice.bond(BondListener)
.Modifier and Type | Interface and Description |
---|---|
static class |
BondListener.BondEvent
Struct passed to
onEvent(BondEvent) to provide more information about a BleDevice.bond() attempt. |
static class |
BondListener.Status
Used on
BondListener.BondEvent.status() to roughly enumerate success or failure. |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(BondListener.BondEvent e)
Called after a call to
BleDevice.bond(BondListener) (or overloads),
or when bonding through another app or the operating system settings. |
void onEvent(BondListener.BondEvent e)
BleDevice.bond(BondListener)
(or overloads),
or when bonding through another app or the operating system settings.onEvent
in interface GenericListener_Void<BondListener.BondEvent>