ConnectedDevice<T> class abstract

connected device

Implementers

Constructors

ConnectedDevice()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectionState() ConnectionState
deviceMac() String?
device mac
deviceName() String?
device name
disconnect() Future<void>
disconnect
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
origin() → T
read(ReadOptions? options) Stream<Uint8List>
read data
toString() String
A string representation of this object.
inherited
write(Uint8List data, {bool sendDone = true}) Future<void>
write data data write data sendDone maybe you want send data parts, you can set this flag

Operators

operator ==(Object other) bool
The equality operator.
inherited