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.
NOTE

Also see onLoadInfo (loadInfo) under QoS events.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now