setMediaList

abstract fun setMediaList(mediaList: List<Media>)

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

Parameters

mediaList

The new Media list.