stopAudioEffect method

Future<int> stopAudioEffect(
  1. int effectId
)

ZH

停止音效文件播放, 仅供会议用户或直播主播用户使用 @param effectId 自定义全局唯一音效Id @return 0: 成功, 非0: 失败

EN

Stop audio effect playback (for meeting hosts or live streamers only) @param effectId Unique global audio effect ID @return 0: success, non-zero: failure

Implementation

Future<int> stopAudioEffect(int effectId) async {
  int code = await _channel.invokeMethod('stopAudioEffect', effectId) ?? -1;
  return code;
}