AdvertiseData class

The advertise data discovered from a peripheral.

Constructors

AdvertiseData.new({String? name, List<UUID> serviceUUIDs = const [], Map<UUID, Uint8List> serviceData = const {}, ManufacturerSpecificData? manufacturerSpecificData})
Constructs an AdvertiseData.

Properties

hashCode int
The hash code for this object.
no setterinherited
manufacturerSpecificData ManufacturerSpecificData?
The manufacturer specific data of the peripheral.
final
name String?
The name of the peripheral.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceData Map<UUID, Uint8List>
The GATT service data of the peripheral.
final
serviceUUIDs List<UUID>
The GATT service uuids of the peripheral.
final

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