public void movePlaybackPosition(int position, OnCueListener listener) {
        if (mModCount != mLastUpdateModCount) {
            // Update the timeline list if cues have been added or removed
            // We check the mod count here to avoid an unnecessary function call
            updateCueList();
        }

        // Move through the timeline and announce cues
        while (mListIterator.hasNext()) {
            Cue cue = mListIterator.next();
            mListPosition++;

            if (cue.getTime() <= position) {
                listener.onCue(cue);
            } else {
                mListIterator.previous();
                mListPosition--;
                break;
            }
        }
    }
Moves the playback position from the current to the requested position, announcing all
passed cues that are positioned in between.
@param position the new playback position
@param listener a listener that receives all cues between the previous and new position
MediaPlayer/src/main/java/net/protyposis/android/mediaplayer/Timeline.java