AdvertisementBluetoothDevice class

This is a BluetoothDevice that has been found using FlutterWebBluetooth.requestLeScan and will be emitted by the FlutterWebBluetooth.advertisements stream.

Devices that have been retrieved in that way don't have access to the GATT server so communicating with them is not possible. If you need a BluetoothDevice use FlutterWebBluetooth.requestAdvertisementDevice to request the user to give access to more of the features of the device.

Implementers

Constructors

AdvertisementBluetoothDevice(WebBluetoothDevice _bluetoothDevice)
Construct a new instance.

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
Get the id of the device.
no setter
name String?
A human readable name of the device.
no setter
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
Check to see if two device have the same id.
override