getEffectCurrentPosition abstract method

Future<int> getEffectCurrentPosition(
  1. int soundId
)

Retrieves the playback position of the audio effect file.

Call this method after playEffect.

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

Returns The playback position (ms) of the specified audio effect file, if the method call succeeds. < 0: Failure.

Implementation

Future<int> getEffectCurrentPosition(int soundId);