AdvertiseData class
Model of the data to be advertised.
- Annotations
-
- @JsonSerializable()
Constructors
-
AdvertiseData({String? serviceUuid, int? manufacturerId, Uint8List? manufacturerData, String? serviceDataUuid, List<
int> ? serviceData, bool includeDeviceName = false, String? localName, bool? includePowerLevel = false, String? serviceSolicitationUuid}) -
AdvertiseData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeDeviceName → bool
-
Android only
final
- includePowerLevel → bool?
-
Android only
final
- localName → String?
-
iOS only
final
- manufacturerData → Uint8List?
-
Android only
final
- manufacturerId → int?
-
Android only
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceData
→ List<
int> ? -
Android only
final
- serviceDataUuid → String?
-
Android only
final
- serviceSolicitationUuid → String?
-
Android > SDK 31 only
final
- serviceUuid → String?
-
Android & iOS
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited