SpotifyContext

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

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

SpotifyContext
Link copied to clipboard
common
fun SpotifyContext(externalUrlsString: Map<String, String>, href: String, uri: ContextUri, typeString: String)
The Spotify URI for the context.

Properties

externalUrls
Link copied to clipboard
common
val externalUrls: List<ExternalUrl>
Known external URLs for this object
href
Link copied to clipboard
common
val href: String
A link to the Web API endpoint providing full details of the track.
type
Link copied to clipboard
common
val type: SpotifyContextType
The object type, e.g.
typeString
Link copied to clipboard
common
val typeString: String
The object type, e.g.
uri
Link copied to clipboard
common
val uri: ContextUri
The Spotify URI for the context.

Sources

common source
Link copied to clipboard