BasePreloadManager.Listener


interface BasePreloadManager.Listener


Listener for events in a preload manager.

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.