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 listeners for the following events with the MediaPlayerItemLoader object.

Event Meaning
MediaPlayerItemLoader.completed Media resource loading completed successfully.
MediaPlayerItemLoader.failed A problem occurred with media resource loading.

On this page