/** * Retrieves the current position of the audio playback. If an audio item is not currently in * playback then the value will be 0. This should only be called after the item is prepared (see * {@link #setOnPreparedListener(OnPreparedListener)}) * * @return The millisecond value for the current position */ public int getCurrentPosition() { if (overridePosition) { return positionOffset + overriddenPositionStopWatch.getTimeInt(); } return positionOffset + videoViewImpl.getCurrentPosition(); }