forgetPairedDevice

abstract suspend fun forgetPairedDevice(deviceAddress: BluetoothDeviceAddress)

Removes bond (pairing) with a specific Bluetooth device which is registered to BluetoothDeviceAddress. It deletes the link key associated with that device and, by doing so, the connections to that device are terminated immediately.

Parameters

deviceAddress

The address of the device to forget.