advertisementReceivedEvent constant

EventStreamProvider<BluetoothAdvertisementReceivedEvent> const advertisementReceivedEvent

An event fired when an advertisement packet is received.

These events are fired after calling WebBluetoothDevice.watchAdvertisements.

This event will bubble through the WebBluetoothDevice to the root Bluetooth instance.

Implementation

static const EventStreamProvider<BluetoothAdvertisementReceivedEvent>
    advertisementReceivedEvent =
    EventStreamProvider<BluetoothAdvertisementReceivedEvent>(
        "advertisementreceived");