Loader events

TVSDK dispatches media player item events in response to loading a media item.

These events provide an alternative workflow. You are not required to implement this interface when creating a MediaPlayer. Use this when you want to have a MediaPlayerItemLoader.

To be notified about events related to loading a media player resource, register an implementation of MediaPlayerItemLoader.LoaderListener including the following events.

Event Meaning
onLoadComplete(mediaPlayerItem playerItem) Media resource loading completed successfully.
onError A problem occurred with media resource loading.

Also see onLoadInfo (loadInfo) under QoS events.

On this page