BondStatus


public final class BondStatus
extends Object

java.lang.Object
   ↳ android.bluetooth.BondStatus


Represents the bond status of a Bluetooth device.

This class is used to hold the bond status details like pairing algorithm and variant of a Bluetooth device.

Summary

Public constructors

BondStatus(int pairingAlgorithm, int pairingVariant)

Creates a new BondStatus object.

Public methods

int getPairingAlgorithm()
int getPairingVariant()
String toString()

Returns a string representation of the object.

Inherited methods

Public constructors

BondStatus

public BondStatus (int pairingAlgorithm, 
                int pairingVariant)

Creates a new BondStatus object.

Parameters
pairingAlgorithm int: the pairing algorithm used to create the bond with the device.
Value is one of the following:
pairingVariant int: the pairing variant used to create the bond with the device.
Value is one of the following:

Public methods

getPairingAlgorithm

public int getPairingAlgorithm ()

Returns
int the pairing algorithm used to create the bond with the device.
Value is one of the following:

getPairingVariant

public int getPairingVariant ()

Returns
int the pairing variant used to create the bond with the device.
Value is one of the following:

toString

public String toString ()

Returns a string representation of the object.

Returns
String a string representation of the object.