stopEffect method

Future<int> stopEffect (
  1. int effectId
)

停止播放指定音效文件

effectId 指定音效的 ID。每个音效均有唯一的 ID

Implementation

Future<int> stopEffect(int effectId) async {
  assert(effectId != null);
  IntValue reply = await _api.stopEffect(IntValue()..value = effectId);
  return reply.value;
}