ios_setAudioCaptureDeviceMute method
@platform ios
@detail api
@author dixing
@brief Set the mute state of the current audio capture device. It's not mute by default.
@param mute
- true: Mute
- false: Speaking
@return Method call result
- 0: Success.
- < 0: failure
Implementation
Future<int?> ios_setAudioCaptureDeviceMute(bool mute) async {
$() => ($instance as $p_i.ByteRTCAudioDeviceManager)
.setAudioCaptureDeviceMute(mute);
if (Platform.isIOS) {
return $();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}