setMedia

abstract fun setMedia(media: Media)(source)

Clears the playlist, adds the specified Media and resets the position to the default position.