enableMicOriginalInput method

  1. @override
Future<String> enableMicOriginalInput(
  1. bool enable
)

Call this method to enable or disable the original input of mic.
enable true to enable the original input of the microphone or false to disable it.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String> enableMicOriginalInput(bool enable) async {
  var params = <String, dynamic>{};
  params.putIfAbsent("enable", () => enable);

  return await methodChannel
      .invokeMethod<String>('enableMicOriginalInput', params)
      .then<String>((String? value) => value ?? "");
}