SpotifyContext

@Serializable
data class SpotifyContext(externalUrlsString: Map<String, String>, val href: String, val uri: ContextUri, val typeString: String)(source)

Context in which a track was played

Parameters

uri

The Spotify URI for the context.

href

A link to the Web API endpoint providing full details of the track.

typeString

The object type, e.g. “artist”, “playlist”, “album”, “show”.

Constructors

Link copied to clipboard
constructor(externalUrlsString: Map<String, String>, href: String, uri: ContextUri, typeString: String)

Properties

Link copied to clipboard

Known external URLs for this object

Link copied to clipboard
Link copied to clipboard

The object type, e.g. “artist”, “playlist”, “album”, “show”.

Link copied to clipboard
@SerialName(value = "type")
val typeString: String
Link copied to clipboard