Companion

object Companion

Functions

Link copied to clipboard
fun register(context: Context, device: BleDevice, callback: ClientBleGattCallback)

Registers new BondingBroadcastReceiver. If one instance already exists then it just add new records to observe.

Link copied to clipboard
fun unregisterReceiver(context: Context, address: String)

Unregisters bond state changes callbacks. If this is the last observed callback then BroadcastReceiver will be unregistered.