BluetoothPairingDetails
data class BluetoothPairingDetails(val pairingVariant: BluetoothPairingDetails.PairingVariant, val passkey: String?) : Parcelable
Content copied to clipboard
Represents Bluetooth pairing information and holds the current Bluetooth device pairing details. It includes the pairing variant and the passkey.
Parameters
pairingVariant
The pairing variant which is provided when the pairing request is received.
passkey
The code to be used when accepting the pairing request.
Constructors
Link copied to clipboard
fun BluetoothPairingDetails(pairingVariant: BluetoothPairingDetails.PairingVariant, passkey: String?)
Content copied to clipboard
Types
Link copied to clipboard
enum PairingVariant : Enum<BluetoothPairingDetails.PairingVariant> , Parcelable
Content copied to clipboard
Represents the pairing variant which is used when accepting a pairing request.
Properties
Functions
Link copied to clipboard
passkey is masked when the BluetoothPairingDetails is printed.