BluetoothCharacteristic class
Constructors
Properties
-
descriptors
→ List<
BluetoothDescriptor> -
final
- deviceId → DeviceIdentifier
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotifying → bool
-
no setter
-
lastValue
→ List<
int> -
no setter
- properties → CharacteristicProperties
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryServiceUuid → Guid?
-
final
- serviceUuid → Guid
-
final
- uuid → Guid
-
final
-
value
→ Stream<
List< int> > -
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< List< int> > - Retrieves the value of the characteristic
-
setNotifyValue(
bool notify) → Future< bool> - Sets notifications or indications for the value of a specified characteristic
-
setNotifyValueHandleDisconnect(
bool notify, Stream< BluetoothDeviceState> stateStream) → Future<bool> - Sets notifications or indications for the value of a specified characteristic
-
toString(
) → String -
A string representation of this object.
override
-
write(
List< int> value, {bool withoutResponse = false}) → Future<Null> - Writes the value of a characteristic. CharacteristicWriteType.withoutResponse: the write is not guaranteed and will return immediately with success. CharacteristicWriteType.withResponse: the method will return after the write operation has either passed or failed.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited