PreloadManagerListener


@UnstableApi
public interface PreloadManagerListener


Listener for events in a preload manager.

All methods have no-op default implementations to allow selective overrides.

Summary

Public methods

default void

Called when the given MediaItem has completed preloading.

default void

Called when an error occurs.

Public methods

onCompleted

default void onCompleted(MediaItem mediaItem)

Called when the given MediaItem has completed preloading.

onError

default void onError(PreloadException exception)

Called when an error occurs.