PreloadManagerListener


@UnstableApi
interface PreloadManagerListener


Listener for events in a preload manager.

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

Summary

Public functions

Unit
onCompleted(mediaItem: MediaItem!)

Called when the given MediaItem has completed preloading.

Unit

Called when an error occurs.

Public functions

onCompleted

fun onCompleted(mediaItem: MediaItem!): Unit

Called when the given MediaItem has completed preloading.

onError

fun onError(exception: PreloadException!): Unit

Called when an error occurs.