onMuteChanged property

EventStream<MuteChangedEvent> get onMuteChanged

Fired when the mute state of the audio input or output changes. Note that mute state is system-wide and the new value applies to every audio device with specified stream type.

Implementation

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