BluetoothPairingRequest class

Represents information about incoming pairing request

Constructors

BluetoothPairingRequest({String? address, PairingVariant? pairingVariant, int? passkey})
Construct BluetoothPairingRequest with given values.
const
BluetoothPairingRequest.fromMap(Map map)
Creates BluetoothPairingRequest from map. Internally used to receive the object from platform code.
factory

Properties

address String?
MAC address of the device or identificator for platform system (if MAC addresses are prohibited).
final
hashCode int
The hash code for this object.
no setterinherited
pairingVariant PairingVariant?
Variant of the pairing methods.
final
passkey int?
Passkey for confirmation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited