BondStateChangeReason

enum BondStateChangeReason : Enum<BluetoothConnectivityStatus.BondStateChangeReason> , Parcelable

BondStateChangeReason should be used by the client to check if a pairing request succeeded, and resulted into a bond with the remote Bluetooth device. When the bond was created successfully, it is indicated by providing BOND_SUCCESS, otherwise the reason why the bond was not created will be provided. UNBOND_REASON_REMOVED is only used when the bond between the remote Bluetooth device has been removed.

Entries

Link copied to clipboard

A bond attempt succeeded.

Link copied to clipboard

A bond attempt failed because pins did not match, or remote device did not respond to pin request in time.

Link copied to clipboard

A bond attempt failed because the other side explicitly rejected bonding.

Link copied to clipboard

A bond attempt failed because we canceled the bonding process.

Link copied to clipboard

A bond attempt failed because we could not contact the remote device.

Link copied to clipboard

A bond attempt failed because a discovery is in progress.

Link copied to clipboard

A bond attempt failed because of authentication timeout.

Link copied to clipboard

A bond attempt failed because of repeated attempts.

Link copied to clipboard

A bond attempt failed because we received an Authentication Cancel by remote end.

Link copied to clipboard

An existing bond was explicitly revoked.

Inherited properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)