getPosition abstract method
Gets the current position of audio effect file playback.
Return value:
>0
: Success, the current progress of audio effect file playback in milliseconds.<0
: Failure.
Return value:
0
: Success.<0
: Failure.
Notes:
- When playing online files, calling this API may cause a delay in playback.
- Call this API after RTCAudioEffectPlayer.start.
Implementation
Future<int?> getPosition(int effectId);