Playlist
data class Playlist(val id: String, val title: String, val isEditable: Boolean, val isPrivate: Boolean = true, val cover: ImageHolder? = null, val authors: List<Artist> = listOf(), val trackCount: Long? = null, val duration: Long? = null, val creationDate: Date? = null, val description: String? = null, val background: ImageHolder? = cover, val subtitle: String? = null, val extras: Map<String, String> = mapOf(), val isRadioSupported: Boolean = true, val isFollowable: Boolean = false, val isSaveable: Boolean = true, val isLikeable: Boolean = false, val isHideable: Boolean = false, val isShareable: Boolean = true) : EchoMediaItem.Lists
A data class representing a playlist
See also
Constructors
Link copied to clipboard
constructor(id: String, title: String, isEditable: Boolean, isPrivate: Boolean = true, cover: ImageHolder? = null, authors: List<Artist> = listOf(), trackCount: Long? = null, duration: Long? = null, creationDate: Date? = null, description: String? = null, background: ImageHolder? = cover, subtitle: String? = null, extras: Map<String, String> = mapOf(), isRadioSupported: Boolean = true, isFollowable: Boolean = false, isSaveable: Boolean = true, isLikeable: Boolean = false, isHideable: Boolean = false, isShareable: Boolean = true)
Properties
Link copied to clipboard
The background image of the playlist
Link copied to clipboard
The cover image of the playlist
Link copied to clipboard
The creation date of the playlist
Link copied to clipboard
The description of the playlist
Link copied to clipboard
Whether the playlist is editable. Checkout PlaylistEditClient
Link copied to clipboard
Link copied to clipboard
Whether the playlist can be followed. Checkout FollowClient
Link copied to clipboard
Whether the playlist can be hidden. Checkout HideClient
Link copied to clipboard
Whether the playlist can be liked. Checkout LikeClient
Link copied to clipboard
Whether the playlist is private. Checkout PlaylistEditPrivacyClient
Link copied to clipboard
Whether the playlist can be used to create a radio. Checkout RadioClient
Link copied to clipboard
Whether the playlist can be saved to library. Checkout SaveClient
Link copied to clipboard
Whether the playlist can be shared. Checkout ShareClient
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The total number of tracks in the playlist
Link copied to clipboard
Functions
Link copied to clipboard
open fun copyMediaItem(id: String = this.id, title: String = this.title, cover: ImageHolder? = this.cover, description: String? = this.description, subtitle: String? = this.subtitle, extras: Map<String, String> = this.extras, isRadioSupported: Boolean = this.isRadioSupported, isFollowable: Boolean = this.isFollowable, isSaveable: Boolean = this.isSaveable): EchoMediaItem
Link copied to clipboard
Link copied to clipboard