setMotionMute method

Future<void> setMotionMute(
  1. bool motionMute
)

设置动效静音,该接口仅在 企业版 SDK 中生效

有些挂件本身会有声音特效,通过此 API 可以关闭这些特效播放时所带的声音效果。

参数:

motionMute YES:静音;NO:不静音。

Implementation

Future<void> setMotionMute(bool motionMute) {
  return _channel.invokeMethod('setMotionMute', {"motionMute": motionMute});
}