SpotifyUri

sealed class SpotifyUri : ISpotifyUri

Represents any Spotify URI (one of ArtistUri, PlayableUri, ImmutableCollectionUri, UserUri, PlaylistUri), parsed from either a Spotify ID or taken from an endpoint.

Parameters

type

The type (per Spotify) corresponding to the Uri.

Types

Companion
Link copied to clipboard
common
object Companion

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

Inheritors

CollectionUri
Link copied to clipboard
PlayableUri
Link copied to clipboard
ArtistUri
Link copied to clipboard
UserUri
Link copied to clipboard

Sources

common source
Link copied to clipboard