onCharacteristicValueChanged property

Stream<Event> get onCharacteristicValueChanged

An event fired on an characteristic when the characteristic value has changed.

This event is fired after calling WebBluetoothRemoteGATTCharacteristic.readValue or WebBluetoothRemoteGATTCharacteristic.startNotifications is used to start receiving these events.

This event will bubble through the WebBluetoothRemoteGATTCharacteristic, then WebBluetoothRemoteGATTService, then the WebBluetoothDevice, and finally the root Bluetooth instance.

Implementation

Stream<Event> get onCharacteristicValueChanged =>
    BluetoothEventStreamProviders.characteristicValueChangedEvent
        .forTarget(this);