Advertisement class final
The advertisement of the peripheral.
Constructors
-
Advertisement({String? name, List<
UUID> serviceUUIDs = const [], Map<UUID, Uint8List> serviceData = const {}, List<ManufacturerSpecificData> manufacturerSpecificData = const []}) - Constructs an Advertisement.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
manufacturerSpecificData
→ List<
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