SpotifyUri

@Serializable(with = SpotifyUriSerializer::class)
sealed class SpotifyUri : ISpotifyUri(source)

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.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
override val id: String

representation of this uri as an id

Link copied to clipboard
Link copied to clipboard
override val uri: String

retrieve this URI as a string

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String