getPlayer

fun getPlayer(media: Media): PLAYER

Acquire a PLAYER that can be used to play the media from the pool. If there is no available instance in the pool, this method will create a new one.

Return

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

Parameters

media

The Media object.