WebBluetoothRemoteGATTDescriptor class
A class for calling methods and values for a WebBluetoothRemoteGATTDescriptor.
This is where you can find out what a characteristic's value means.
You can get a WebBluetoothRemoteGATTDescriptor from WebBluetoothRemoteGATTCharacteristic.getDescriptor, and WebBluetoothRemoteGATTCharacteristic.getDescriptors.
See:
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