MaskingMediaPeriod.PrepareListener


interface MaskingMediaPeriod.PrepareListener


Listener for preparation events.

Summary

Public functions

Unit

Called when preparing the media period completes.

Unit
onPrepareError(
    mediaPeriodId: MediaSource.MediaPeriodId!,
    exception: IOException!
)

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

Public functions

onPrepareComplete

fun onPrepareComplete(mediaPeriodId: MediaSource.MediaPeriodId!): Unit

Called when preparing the media period completes.

onPrepareError

fun onPrepareError(
    mediaPeriodId: MediaSource.MediaPeriodId!,
    exception: IOException!
): Unit

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