removeBond

abstract fun removeBond(): Boolean

This method should initiate removing bond information associated with the peripheral.

It is expected, that removing bond information will terminate existing connection.

This method is guaranteed to be called only when the bond information exists.

The result should be reported by emitting state BondState.NONE to bondState flow.

Return

True if removing bond information has been initiated.

Throws

If BLUETOOTH_CONNECT permission is denied.