Artist
data class Artist(val id: String, val name: String, val cover: ImageHolder? = null, val bio: String? = null, val background: ImageHolder? = cover, val banners: List<ImageHolder> = listOf(), val subtitle: String? = null, val extras: Map<String, String> = mapOf(), val isRadioSupported: Boolean = true, val isFollowable: Boolean = true, val isSaveable: Boolean = true, val isLikeable: Boolean = false, val isHideable: Boolean = false, val isShareable: Boolean = true) : EchoMediaItem
A data class representing an artist
See also
Constructors
Link copied to clipboard
constructor(id: String, name: String, cover: ImageHolder? = null, bio: String? = null, background: ImageHolder? = cover, banners: List<ImageHolder> = listOf(), subtitle: String? = null, extras: Map<String, String> = mapOf(), isRadioSupported: Boolean = true, isFollowable: Boolean = true, isSaveable: Boolean = true, isLikeable: Boolean = false, isHideable: Boolean = false, isShareable: Boolean = true)
Properties
Link copied to clipboard
The background image of the artist
Link copied to clipboard
The banners of the artist (not used yet)
Link copied to clipboard
The cover image of the artist
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 artist can be followed. Checkout FollowClient
Link copied to clipboard
Whether the artist can be hidden. Checkout HideClient
Link copied to clipboard
Whether the artist can be liked. Checkout LikeClient
Link copied to clipboard
Whether the artist can be used to create a radio. Checkout RadioClient
Link copied to clipboard
Whether the artist can be saved to library. Checkout SaveClient
Link copied to clipboard
Whether the artist can be shared. Checkout ShareClient
Link copied to clipboard
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