ScanRecord class
Stores the byte data of the advertisement packet sent by a Bluetooth device.
Constructors
-
ScanRecord({String? name, List<
String> ? uuids, int? appearance, int? txPower, List<ManufacturerData> ? manufacturerData}) -
ScanRecord.fromJson(Map<
String, dynamic> json) -
factory
Properties
- appearance → int?
-
Stores the external appearance description of the device.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
manufacturerData
→ List<
ManufacturerData> ? -
Key is the company identifier and the value is an array of bytes of
manufacturer specific data.
final
- name → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- txPower → int?
-
Stores the transmission power of a broadcasting device.
final
-
uuids
→ List<
String> ? -
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