MediaPlayerPool

open class MediaPlayerPool(context: Context) : PlayerPool<MediaPlayer>

A PlayerPool for the MediaPlayer.

Constructors

Link copied to clipboard
fun MediaPlayerPool(context: Context)

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open override fun createPlayer(media: Media): MediaPlayer
Link copied to clipboard
open override fun destroyPlayer(player: MediaPlayer)
Link copied to clipboard
fun getPlayer(media: Media): MediaPlayer
Link copied to clipboard
fun putPlayer(media: Media, player: MediaPlayer): Boolean
Link copied to clipboard
open override fun resetPlayer(player: MediaPlayer)