BondStateChangeReason

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
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Inherited functions

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