Radio
data class Radio(val id: String, val title: String, val cover: ImageHolder? = null, val authors: List<Artist> = listOf(), val trackCount: Long? = null, val description: String? = null, val subtitle: String? = null, val extras: Map<String, String> = mapOf(), val isFollowable: Boolean = false, val isSaveable: Boolean = false, val isLikeable: Boolean = false, val isHideable: Boolean = false, val isShareable: Boolean = true) : EchoMediaItem.Lists
A data class representing a radio, that can load tracks and be directly played when clicked.
Constructors
Link copied to clipboard
constructor(id: String, title: String, cover: ImageHolder? = null, authors: List<Artist> = listOf(), trackCount: Long? = null, description: String? = null, subtitle: String? = null, extras: Map<String, String> = mapOf(), isFollowable: Boolean = false, isSaveable: Boolean = false, isLikeable: Boolean = false, isHideable: Boolean = false, isShareable: Boolean = true)
Properties
Link copied to clipboard
The background image of the media item, used to display a background image
Link copied to clipboard
The cover image of the radio
Link copied to clipboard
A description of the media item, used to display additional information
Link copied to clipboard
Link copied to clipboard
Whether the radio can be followed. Checkout FollowClient
Link copied to clipboard
Whether the radio can be hidden. Checkout HideClient
Link copied to clipboard
Whether the radio can be liked. Checkout LikeClient
Link copied to clipboard
Whether the media item can be loaded to get Radio. Checkout RadioClient
Link copied to clipboard
Whether the radio can be saved to library. Checkout SaveClient
Link copied to clipboard
Whether the radio can be shared. Checkout ShareClient
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The number of tracks in the radio, if applicable
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