LibraryType

enum LibraryType : Enum<LibraryType>

Type of object in a user's Spotify library

Parameters

value

Spotify id for the type

id

How to transform an id (or uri) input into its Spotify id

Entries

TRACK
Link copied to clipboard
common
TRACK("tracks", { PlayableUri(it).id })
ALBUM
Link copied to clipboard
common
ALBUM("albums", { AlbumUri(it).id })
EPISODE
Link copied to clipboard
common
EPISODE("episodes", { EpisodeUri(it).id })
SHOW
Link copied to clipboard
common
SHOW("shows", { ShowUri(it).id })

Functions

toString
Link copied to clipboard
common
open override fun toString(): String

Properties

name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int

Sources

common source
Link copied to clipboard