lightbulb_outline Please take our October 2018 developer survey. Start survey

BluetoothPairingCallback.PairingError

public static class BluetoothPairingCallback.PairingError
extends Object

java.lang.Object
   ↳ com.google.android.things.bluetooth.BluetoothPairingCallback.PairingError


Summary

Constants

int UNBOND_REASON_AUTH_CANCELED

A bond attempt failed because we canceled the bonding process

int UNBOND_REASON_AUTH_FAILED

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

int UNBOND_REASON_AUTH_REJECTED

A bond attempt failed because the other side explicitly rejected bonding

int UNBOND_REASON_AUTH_TIMEOUT

A bond attempt failed because of authentication timeout

int UNBOND_REASON_DISCOVERY_IN_PROGRESS

A bond attempt failed because a discovery is in progress

int UNBOND_REASON_REMOTE_AUTH_CANCELED

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

int UNBOND_REASON_REMOTE_DEVICE_DOWN

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

int UNBOND_REASON_REMOVED

An existing bond was explicitly revoked

int UNBOND_REASON_REPEATED_ATTEMPTS

A bond attempt failed because of repeated attempts

Public methods

int getErrorCode()

Inherited methods

From class java.lang.Object

Constants

UNBOND_REASON_AUTH_CANCELED

int UNBOND_REASON_AUTH_CANCELED

A bond attempt failed because we canceled the bonding process

Constant Value: 3 (0x00000003)

UNBOND_REASON_AUTH_FAILED

int UNBOND_REASON_AUTH_FAILED

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

Constant Value: 1 (0x00000001)

UNBOND_REASON_AUTH_REJECTED

int UNBOND_REASON_AUTH_REJECTED

A bond attempt failed because the other side explicitly rejected bonding

Constant Value: 2 (0x00000002)

UNBOND_REASON_AUTH_TIMEOUT

int UNBOND_REASON_AUTH_TIMEOUT

A bond attempt failed because of authentication timeout

Constant Value: 6 (0x00000006)

UNBOND_REASON_DISCOVERY_IN_PROGRESS

int UNBOND_REASON_DISCOVERY_IN_PROGRESS

A bond attempt failed because a discovery is in progress

Constant Value: 5 (0x00000005)

UNBOND_REASON_REMOTE_AUTH_CANCELED

int UNBOND_REASON_REMOTE_AUTH_CANCELED

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

Constant Value: 8 (0x00000008)

UNBOND_REASON_REMOTE_DEVICE_DOWN

int UNBOND_REASON_REMOTE_DEVICE_DOWN

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

Constant Value: 4 (0x00000004)

UNBOND_REASON_REMOVED

int UNBOND_REASON_REMOVED

An existing bond was explicitly revoked

Constant Value: 9 (0x00000009)

UNBOND_REASON_REPEATED_ATTEMPTS

int UNBOND_REASON_REPEATED_ATTEMPTS

A bond attempt failed because of repeated attempts

Constant Value: 7 (0x00000007)

Public methods

getErrorCode

int getErrorCode ()

Returns
int