isAudioDeviceMuted method
- ZegoAudioDeviceType deviceType,
- String deviceID
Check if the audio device is muted.
Only for Windows / macOS / Linux
deviceType
Audio device typedeviceID
ID of a device obtained by getAudioDeviceList- Returns Whether the audio device is muted;
true
means the audio device is muted;false
means the audio device is not muted.
Implementation
Future<bool> isAudioDeviceMuted(
ZegoAudioDeviceType deviceType, String deviceID) async {
return await ZegoExpressImpl.instance
.isAudioDeviceMuted(deviceType, deviceID);
}