public interface

MaskingMediaPeriod.PrepareListener

 androidx.media3.exoplayer.source.MaskingMediaPeriod.PrepareListener

Overview

Listener for preparation events.

Summary

Methods
public voidonPrepareComplete(MediaSource.MediaPeriodId mediaPeriodId)

Called when preparing the media period completes.

public voidonPrepareError(MediaSource.MediaPeriodId mediaPeriodId, java.io.IOException exception)

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

Methods

public void onPrepareComplete(MediaSource.MediaPeriodId mediaPeriodId)

Called when preparing the media period completes.

public void onPrepareError(MediaSource.MediaPeriodId mediaPeriodId, java.io.IOException exception)

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