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.

Functions

component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): ContextUri
component4
Link copied to clipboard
common
operator fun component4(): String
copy
Link copied to clipboard
common
fun copy(externalUrlsString: Map<String, String>, href: String, uri: ContextUri, typeString: String): SpotifyContext
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

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

(source)
Link copied to clipboard