WebBluetoothRemoteGATTDescriptor class

Constructors

WebBluetoothRemoteGATTDescriptor.fromJSObject(Object _jsObject, WebBluetoothRemoteGATTCharacteristic characteristic)
Create a new instance from a js object.

Properties

characteristic → WebBluetoothRemoteGATTCharacteristic
The characteristic that this descriptor belongs to.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uuid → String
The uuid of the descriptor.
no setter
value → ByteData?
Get the last value retrieved from the WebBluetoothRemoteGATTDescriptor.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readValue() → Future<ByteData>
Will read the value of the descriptor. The value read will be returned and also set as the value property.
toString() → String
A string representation of this object.
inherited
writeValue(Uint8List value) → Future<void>
Will write a new value to the characteristic.

Operators

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