SpotifyTrackUri

class SpotifyTrackUri(input: String) : PlayableUri

Represents a Spotify Track URI (spotify:track:XXXXXXXXXX), parsed from either a Spotify ID or taken from an endpoint.

Constructors

SpotifyTrackUri
Link copied to clipboard
common
fun SpotifyTrackUri(input: String)

Functions

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

id
Link copied to clipboard
common
open override val id: String
representation of this uri as an id
type
Link copied to clipboard
common
val type: String
The type (per Spotify) corresponding to the Uri.
uri
Link copied to clipboard
common
open override val uri: String
retrieve this URI as a string

Sources

(source)
Link copied to clipboard