setEffectPosition abstract method
Sets the playback position of an audio effect file.
After a successful setting, the local audio effect file starts playing at the specified position. Call this method after playEffect.
soundId
The audio effect ID. The ID of each audio effect file is unique.pos
The playback position (ms) of the audio effect file.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> setEffectPosition({required int soundId, required int pos});