getPlayPosition

Gets the current local playback progress.

long getPlayPosition();

Return Values

  • If the method call succeeds, returns the current playback progress (in milliseconds).
  • If the method call fails, returns a value less than 0. See MediaPlayerReason.