NERtcAudioEffectManager class Null safety

Audio effect management module

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clearEventCallback() Future<int>
Clear the callback for an audio effect event
getEffectCurrentPosition(int effectId) Future<int>
Get the current position of an audio effect file. The method gets the playback position of the audio file. Unit: milliseconds. effectId ID of a specified audio effect. Each audio effect has a unique ID.
getEffectDuration(int effectId) Future<int>
Get the duration of an audio effect file. The method gets the duration of an audio effect file. Unit: milliseconds effectId ID of a specified audio effect. Each audio effect has a unique ID.
getEffectPlaybackVolume(int effectId) Future<int>
Get the playback volume of an audio effect file.
getEffectSendVolume(int effectId) Future<int>
Get the publishing volume of an audio effect file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pauseAllEffect() Future<int>
Pauses playback of all audio effect files
pauseEffect(int effectId) Future<int>
Pauses playback of an audio effect file.
playEffect(int effectId, NERtcAudioEffectOptions options) Future<int>
Play a specified audio effect file
resumeAllEffect() Future<int>
Resumes playing all audio effect files
resumeEffect(int effectId) Future<int>
Resumes playing a specified audio effect file
setEffectPlaybackVolume(int effectId, int volume) Future<int>
Set the playback volume for an audio effect file.
setEffectSendVolume(int effectId, int volume) Future<int>
Set the publishing volume of an audio effect file
setEventCallback(NERtcAudioEffectEventCallback callback) Future<int>
Set the callback for an audio event
stopAllEffects() Future<int>
Stops playing all audio effect files
stopEffect(int effectId) Future<int>
Stop playing a specified audio effect file.
toString() String
A string representation of this object.
inherited

Operators

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