public static interface MediaPeriod.Callback extends SequenceableLoader.Callback<MediaPeriod>
MediaPeriod events.| Modifier and Type | Method and Description |
|---|---|
void |
onPrepared(MediaPeriod mediaPeriod)
Called when preparation completes.
|
onContinueLoadingRequestedvoid onPrepared(MediaPeriod mediaPeriod)
Called on the playback thread. After invoking this method, the MediaPeriod can
expect for MediaPeriod.selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[],
long) to be called with the initial track selection.
mediaPeriod - The prepared MediaPeriod.