PlayHistoryContext

data class PlayHistoryContext(externalUrlsString: Map<String, String>, href: String, uri: SpotifyUri, type: String)

Context in which a track was played

Parameters

type

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

href

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

uri

The URI associated with the object

Constructors

PlayHistoryContext
Link copied to clipboard
common
fun PlayHistoryContext(externalUrlsString: Map<String, String>, href: String, uri: SpotifyUri, type: String)
The object type, e.g.

Functions

component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): SpotifyUri
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: SpotifyUri, type: String): PlayHistoryContext
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: String
The object type, e.g.
uri
Link copied to clipboard
common
val uri: SpotifyUri
The URI associated with the object

Sources

(source)
Link copied to clipboard