NERtcAudioEffectManager class

音效管理模块

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearEventCallback() Future<int>
取消音效事件回调
getEffectCurrentPosition(int effectId) Future<int>
获取音效的播放进度。 该方法获取当前音效播放进度,单位为毫秒。 effectId 指定音效的 ID。每个音效均有唯一的 ID
getEffectDuration(int effectId) Future<int>
获取音效文件时长。 该方法获取音效文件时长,单位为毫秒。 effectId 指定音效的 ID。每个音效均有唯一的 ID
getEffectPlaybackVolume(int effectId) Future<int>
获取音效文件播放音量
getEffectSendVolume(int effectId) Future<int>
获取音效文件发送音量
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseAllEffect() Future<int>
暂停所有音效文件播放
pauseEffect(int effectId) Future<int>
暂停音效文件播放
playEffect(int effectId, NERtcAudioEffectOptions options) Future<int>
播放指定音效文件。
resumeAllEffect() Future<int>
恢复播放所有音效文件
resumeEffect(int effectId) Future<int>
恢复播放指定音效文件
setEffectPlaybackVolume(int effectId, int volume) Future<int>
设置音效文件播放音量
setEffectSendVolume(int effectId, int volume) Future<int>
设置音效文件发送音量
setEventCallback(NERtcAudioEffectEventCallback callback) Future<int>
设置音效事件回调
stopAllEffects() Future<int>
停止播放所有音效文件
stopEffect(int effectId) Future<int>
停止播放指定音效文件
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited