DVBluetoothDevice class

A Bluetooth device this machine knows about: paired, connected, or seen.

Constructors

DVBluetoothDevice({required String path, required String address, String? name, bool paired = false, bool connected = false, int? rssi, String? adapter})
const

Properties

adapter → String?
The adapter that knows it.
final
address → String
final
connected → bool
final
hashCode → int
The hash code for this object.
no setterinherited
name → String?
Null for a device that has never said its name -- one out of range advertises an address and nothing else.
final
paired → bool
final
path → String
final
rssi → int?
Signal strength in dBm, when it has been heard recently.
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
toMap() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromMap(Map<Object?, Object?> map) → DVBluetoothDevice