setEffectPosition abstract method

Future<void> setEffectPosition(
  1. int soundId,
  2. int pos
)

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.

Param soundId The audio effect ID. The ID of each audio effect file is unique.

Param pos The playback position (ms) of the audio effect file.

Implementation

Future<void> setEffectPosition(int soundId, int pos);