DeviceDataCollector<TDeviceRegistration, TDeviceDescriptor> class abstract

Collects Data for a single device.

Constructors

DeviceDataCollector([String? type, TDeviceRegistration? deviceRegistration, TDeviceDescriptor? deviceDescriptor])

Properties

deviceDescriptor ↔ TDeviceDescriptor?
The description for this device.
getter/setter pair
deviceRegistration ↔ TDeviceRegistration?
The registration for this device.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
Get a unique id for this device.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedDataTypes Set<String>
The set of data types defining which data can be collected on this device.
no setter
type String?
The type of this device
getter/setter pair

Methods

canConnect() Future<bool>
Determines whether a connection can be made at this point in time to the device.
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