isMicrophoneMuted method
Checks whether the microphone is muted.
Available since: 1.1.0 Description: Used to determine whether the microphone is set to mute. When to call: After creating the engine createEngine. Restrictions: None. Related APIs: muteMicrophone.
- Returns Whether the microphone is muted; true: the microphone is muted;
false
: the microphone is enable (not muted).
Implementation
Future<bool> isMicrophoneMuted() async {
return await ZegoExpressImpl.instance.isMicrophoneMuted();
}