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 })

Functions

compareTo
Link copied to clipboard
common
operator override fun compareTo(other: LibraryType): Int
equals
Link copied to clipboard
common
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
override fun hashCode(): Int
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

(source)
Link copied to clipboard