muteAudioDevice method
- ZegoAudioDeviceType deviceType,
- String deviceID,
- bool mute
Mutes or unmutes the audio device.
Only for Windows / macOS / Linux
deviceTypeAudio device typedeviceIDID of a device obtained by getAudioDeviceListmuteWhether to mute the audio device;truemeans to mute the audio device;falsemeans to unmute the audio device.
Implementation
Future<void> muteAudioDevice(
ZegoAudioDeviceType deviceType, String deviceID, bool mute) async {
return await ZegoExpressImpl.instance
.muteAudioDevice(deviceType, deviceID, mute);
}