isSpeakerMuted method

Future<bool> isSpeakerMuted()

Checks whether the audio output speaker is muted.

Available since: 1.1.0 Description: Used to determine whether the audio output is muted. When to call: After creating the engine createEngine. Restrictions: None. Related APIs: muteSpeaker.

  • Returns Whether the speaker is muted; true: the speaker is muted; false: the speaker is enable (not muted).

Implementation

Future<bool> isSpeakerMuted() async {
  return await ZegoExpressImpl.instance.isSpeakerMuted();
}