ContextType

@Serializable
enum ContextType : Enum<ContextType>

Type of playback context returned by the Spotify Player API.

Entries

Link copied to clipboard
@SerialName(value = "album")
ALBUM
Link copied to clipboard
@SerialName(value = "artist")
ARTIST
Link copied to clipboard
@SerialName(value = "playlist")
PLAYLIST
Link copied to clipboard
@SerialName(value = "show")
SHOW
Link copied to clipboard
@SerialName(value = "episode")
EPISODE

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.