# BluetoothBondingFailure

data class BluetoothBondingFailure(val bondError: Int?) : ReaderInfo.ConnectionError

When Bluetooth fails to bond, the observed behavior usually cycles from State.Connecting to State.Disconnected, or occasionally even from State.Ready to State.Disconnected. This error can explain why.

#### Parameters

bondError

one of the Bluetooth error constants from Android to describe the reason for disconnection, such as UNBOND_REASON_AUTH_REJECTED

## Constructors

BluetoothBondingFailure
Link copied to clipboard
constructor(bondError: Int?)

## Properties

bondError
Link copied to clipboard
val bondError: Int?