MediaPeriod.Callback
public interface MediaPeriod.Callback extends SequenceableLoader.Callback
ClippingMediaPeriod |
Wraps a |
MaskingMediaPeriod |
Media period that defers calling |
A callback to be notified of MediaPeriod events.
Summary
Public methods |
|
|---|---|
abstract void |
onPrepared(MediaPeriod mediaPeriod)Called when preparation completes. |
Inherited methods |
||
|---|---|---|
|
Public methods
onPrepared
abstract void onPrepared(MediaPeriod mediaPeriod)
Called when preparation completes.
Called on the playback thread. After invoking this method, the MediaPeriod can expect for selectTracks to be called with the initial track selection.
| Parameters | |
|---|---|
MediaPeriod mediaPeriod |
The prepared |