onLevelChanged property

EventStream<LevelChangedEvent> get onLevelChanged

Fired when sound level changes for an active audio device.

Implementation

EventStream<LevelChangedEvent> get onLevelChanged =>
    $js.chrome.audio.onLevelChanged
        .asStream(($c) => ($js.LevelChangedEvent event) {
              return $c(LevelChangedEvent.fromJS(event));
            }.toJS);