- <init>
Creates a new media period queue.
- advancePlayingPeriod
Dequeues the playing period holder from the front of the queue and advances the
playing period holde
- advanceReadingPeriod
Continues reading from the next period holder in the queue.
- canKeepMediaPeriodHolder
Returns whether periodHolder can be kept for playing the media period described
by info.
- clear
Clears the queue.
- enqueueNextMediaPeriod
Enqueues a new media period based on the specified information as the new
loading media period, and
- getFirstMediaPeriodInfo
Returns the first MediaPeriodInfo to play, based on the specified playback
position.
- getFollowingMediaPeriodInfo
Returns the MediaPeriodInfo for the media period following mediaPeriodHolder's
media period.
- getFrontPeriod
Returns the period holder in the front of the queue which is the playing period
holder when playing,
- getLoadingPeriod
Returns the loading period holder which is at the end of the queue, or null if
the queue is empty.
- getMediaPeriodInfo
- getMediaPeriodInfoForAd