setEffectPosition abstract method
Sets the playback position of the specified audio effect file.
After successful setting, the local audio effect file will start playing from the specified position. This method must be called after playEffect.
soundIdThe ID of the audio effect. Each audio effect has a unique ID.posThe playback position of the audio effect file, in milliseconds.
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. See Error Codes for details and resolution suggestions.
Implementation
Future<void> setEffectPosition({required int soundId, required int pos});