getPosition abstract method

Future<int?> getPosition(
  1. int effectId
)

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:

Implementation

Future<int?> getPosition(int effectId);