Ready
data class Ready(val id: String, val title: String, val subtitle: String = "", val clientPackageName: String? = null, val artwork: Paintable? = null, val artworkColor: Color? = null, val artworkColorSeed: Color? = null, val titleIcon: Paintable? = null, val appLabel: String? = null, val selectedAudioOutput: AudioOutput? = null) : MediaUiModel
Represents the UI state when media data is available.
Parameters
id
The unique identifier of the media item.
title
The title of the media item.
subtitle
The subtitle of the media item (optional).
artwork
The artwork to display for the media item (optional).
artworkColor
The primary color to use for the artwork background (optional).
artworkColorSeed
The seed color to use for generating the artwork color palette (optional).
titleIcon
An icon to display next to the title (optional).
appLabel
The name of the app that is playing media.
selectedAudioOutput
The audio output on which the media is currently playing (optional).