getMute method

Future<bool> getMute(
  1. StreamType streamType
)

Gets the system-wide mute state for the specified stream type. |streamType|: Stream type for which mute state should be fetched. |callback|: Callback reporting whether mute is set or not for specified stream type.

Implementation

Future<bool> getMute(StreamType streamType) async {
  var $res =
      await promiseToFuture<bool>($js.chrome.audio.getMute(streamType.toJS));
  return $res;
}