BluetoothDescriptor class

Constructors

BluetoothDescriptor({required DeviceIdentifier remoteId, Guid? primaryServiceUuid, required Guid serviceUuid, required Guid characteristicUuid, int instanceId = 0, required Guid descriptorUuid})
BluetoothDescriptor.fromProto(BmBluetoothDescriptor p)

Properties

characteristicUuid → Guid
final
descriptorUuid → Guid
final
device → BluetoothDevice
convenience accessor
no setter
deviceId → DeviceIdentifier
no setter
hashCode → int
The hash code for this object.
no setterinherited
instanceId → int
final
lastValue → List<int>
this variable is updated:
no setter
lastValueStream → Stream<List<int>>
this stream emits values:
no setter
onValueReceived → Stream<List<int>>
this stream emits values:
no setter
primaryServiceUuid → Guid?
final
remoteId → DeviceIdentifier
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceUuid → Guid
final
uuid → Guid
convenience accessor
no setter
value → Stream<List<int>>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read({int timeout = 15}) → Future<List<int>>
Retrieves the value of a specified descriptor
toString() → String
A string representation of this object.
override
write(List<int> value, {int timeout = 15}) → Future<void>
Writes the value of a descriptor

Operators

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