createPlayer

abstract fun createPlayer(media: Media): PLAYER

Create a new PLAYER instance that can be used to play the media object.

Return

a PLAYER instance that can be used to play the media.

Parameters

media

The Media object.