Ready

constructor(id: String, title: String, subtitle: String = "", clientPackageName: String? = null, artwork: Paintable? = null, artworkColor: Color? = null, artworkColorSeed: Color? = null, titleIcon: Paintable? = null, appLabel: String? = null, selectedAudioOutput: AudioOutput? = null)

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).