About the MediaPlayerItem class

Successfully loading a media resource creates an instance of the MediaPlayerItem class.

The MediaResource represents a request issued by the application layer to the MediaPlayer instance to load some content. The MediaPlayer starts by resolving the media resource and continues by loading the associated manifest file and parsing it (this is the asynchronous part of the resource loading process). At the end of the resource resolving process, the MediaPlayerItem instance is produced, so the MediaPlayerItem instance is basically the resolved version of a MediaResource.

The PSDK provides access to the newly created MediaPlayerItem instance through MediaPlayer.getCurrentItem. Wait for the resource to be successfully loaded before accessing the media player item.