MaskingMediaPeriod.PrepareListener


public interface MaskingMediaPeriod.PrepareListener


Listener for preparation events.

Summary

Public methods

abstract void

Called when preparing the media period completes.

abstract void
onPrepareError(
    MediaSource.MediaPeriodId mediaPeriodId,
    IOException exception
)

Called the first time an error occurs while refreshing source info or preparing the period.

Public methods

onPrepareComplete

abstract void onPrepareComplete(MediaSource.MediaPeriodId mediaPeriodId)

Called when preparing the media period completes.

onPrepareError

abstract void onPrepareError(
    MediaSource.MediaPeriodId mediaPeriodId,
    IOException exception
)

Called the first time an error occurs while refreshing source info or preparing the period.