PlayMusic

data class PlayMusic(val spotifyUri: String? = null, val provider: String? = null, val uri: String? = null, val song: String? = null, val artist: String? = null) : CardPayload

Payload associated with the action play music

Parameters

spotifyUri

URI of the song to play

provider

music player provider defined by MusicPlayerProvider

uri

uri of the track to be played

song

name of the song if available, null otherwise

artist

name of the artist if available, null otherwise

Constructors

Link copied to clipboard
constructor(spotifyUri: String? = null, provider: String? = null, uri: String? = null, song: String? = null, artist: String? = null)

Properties

Link copied to clipboard
val artist: String? = null
Link copied to clipboard
val provider: String? = null
Link copied to clipboard
val song: String? = null
Link copied to clipboard
val spotifyUri: String? = null
Link copied to clipboard
val uri: String? = null