DiscoveredDevice class

Ble device that is discovered during scanning.

Inheritance
Annotations
  • @immutable
  • @FunctionalData.new()

Constructors

DiscoveredDevice({required String id, required String name, required Map<Uuid, Uint8List> serviceData, required Uint8List manufacturerData, required int rssi, required List<Uuid> serviceUuids})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifier of the device.
final
manufacturerData Uint8List
Manufacturer specific data. The first 2 bytes are the Company Identifier Codes.
final
name String
final
rssi int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceData Map<Uuid, Uint8List>
final
serviceUuids List<Uuid>
Advertised services
final

Methods

copyUsing(void mutator(DiscoveredDevice$Change change)) DiscoveredDevice
inherited
copyWith({String? id, String? name, Map<Uuid, Uint8List>? serviceData, List<Uuid>? serviceUuids, Uint8List? manufacturerData, int? rssi}) DiscoveredDevice
inherited
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