removeBond

suspend fun removeBond()

Removes the bond information associated with the peripheral.

This method will disconnect the peripheral if it was connected.

Throws

If bond information could not be removed.

If BLUETOOTH_CONNECT permission is denied.