public interface

BasePreloadManager.Listener

 androidx.media3.exoplayer.source.preload.BasePreloadManager.Listener

Overview

Listener for events in a preload manager.

Summary

Methods
public voidonCompleted(MediaItem mediaItem)

Called when the given MediaItem has completed preloading.

public voidonError(PreloadException exception)

Called when an error occurs.

Methods

public void onCompleted(MediaItem mediaItem)

Called when the given MediaItem has completed preloading.

public void onError(PreloadException exception)

Called when an error occurs.