enableMicrophone method
ZH
打开/关闭麦克风 @param enable true 打开, false 关闭 @return 0: 成功, 非0: 失败
EN
Toggle microphone @param enable true to turn on, false to turn off @return 0: success, non-zero: failure
Implementation
Future<int> enableMicrophone(bool enable) async {
int code = await _channel.invokeMethod('enableMicrophone', enable) ?? -1;
return code;
}