SpotifyCategory

data class SpotifyCategory(href: String, id: String, icons: List<SpotifyImage>, name: String) : Identifiable

Spotify music category

Parameters

href

A link to the Web API endpoint returning full details of the category.

icons

The category icon, in various sizes.

id

The Spotify category ID of the category.

name

The name of the category.

Constructors

SpotifyCategory
Link copied to clipboard
common
fun SpotifyCategory(href: String, id: String, icons: List<SpotifyImage>, name: String)
A link to the Web API endpoint returning full details of the category.

Properties

api
Link copied to clipboard
common
lateinit var api: GenericSpotifyApi
The API client associated with the request
href
Link copied to clipboard
common
open override val href: String
A link to the Web API endpoint returning full details of the category.
icons
Link copied to clipboard
common
val icons: List<SpotifyImage>
The category icon, in various sizes.
id
Link copied to clipboard
common
open override val id: String
The Spotify category ID of the category.
name
Link copied to clipboard
common
val name: String
The name of the category.

Sources

common source
Link copied to clipboard