BlockType

@Serializable
enum BlockType : Enum<BlockType> (source)

Entries

Link copied to clipboard
@SerialName(value = "personalplaylists")
PersonalPlaylists
Link copied to clipboard
@SerialName(value = "promotions")
Promotions
Link copied to clipboard
@SerialName(value = "new-releases")
NewReleases
Link copied to clipboard
@SerialName(value = "new-playlists")
NewPlaylists
Link copied to clipboard
@SerialName(value = "mixes")
Mixes
Link copied to clipboard
@SerialName(value = "chart")
Chart
Link copied to clipboard
@SerialName(value = "artists")
Artists
Link copied to clipboard
@SerialName(value = "albums")
Albums
Link copied to clipboard
@SerialName(value = "playlists")
Playlists
Link copied to clipboard
@SerialName(value = "play_contexts")
PlayContexts
Link copied to clipboard
@SerialName(value = "podcasts")
Podcasts

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): BlockType

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.