Buttons

data class Buttons(val showSearch: Boolean = true, val showSort: Boolean = true, val showPlayAndShuffle: Boolean = false, val customTrackList: List<Track>? = null)

A data class representing the buttons that can be shown in the feed.

Constructors

Link copied to clipboard
constructor(showSearch: Boolean = true, showSort: Boolean = true, showPlayAndShuffle: Boolean = false, customTrackList: List<Track>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val customTrackList: List<Track>? = null

To play a custom list of tracks when play and shuffle buttons are clicked.

Link copied to clipboard

Whether to show the play and shuffle buttons.

Link copied to clipboard
val showSearch: Boolean = true

Whether to show the search button.

Link copied to clipboard
val showSort: Boolean = true

Whether to show the sort button.