BondStatus
class BondStatus
| kotlin.Any | |
| ↳ | 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(pairingAlgorithm: Int, pairingVariant: Int)Creates a new |
|
| Public methods | |
|---|---|
| Int | |
| Int | |
| String |
toString() |
Public constructors
BondStatus
BondStatus(
pairingAlgorithm: Int,
pairingVariant: Int)
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
fun getPairingAlgorithm(): Int
| Return | |
|---|---|
Int |
the pairing algorithm used to create the bond with the device. Value is one of the following: |
getPairingVariant
fun getPairingVariant(): Int
| Return | |
|---|---|
Int |
the pairing variant used to create the bond with the device. Value is one of the following: |
toString
fun toString(): String