getItemFromMediaItem

open override fun getItemFromMediaItem(mediaItem: MediaItem): String

Returns the Item corresponding to the MediaItem Please keep int mind that only MediaItem re supported that were created by NewPlayer itself. Otherwise the corresponding item can not be found and the function throws a NewPlayerException.

Parameters

mediaItem

the MediaItem to which the item should be found