RecommendationSeed

data class RecommendationSeed(href: String?, id: String, initialPoolSize: Int, afterFilteringSize: Int, afterRelinkingSize: Int?, type: String) : Identifiable

Seed from which the recommendation was constructed

Parameters

initialPoolSize

The number of recommended tracks available for this seed.

afterFilteringSize

The number of tracks available after min_* and max_* filters have been applied.

afterRelinkingSize

The number of tracks available after relinking for regional availability.

href

A link to the full track or artist data for this seed. For tracks this will be a link to a Track Object. For artists a link to an Artist Object. For genre seeds, this value will be null.

id

The id used to select this seed. This will be the same as the string used in the seed_artists , seed_tracks or seed_genres parameter.

type

The entity type of this seed. One of artist , track or genre.

Constructors

RecommendationSeed
Link copied to clipboard
common
fun RecommendationSeed(href: String? = null, id: String, initialPoolSize: Int, afterFilteringSize: Int, afterRelinkingSize: Int? = null, type: String)
The number of recommended tracks available for this seed.

Properties

afterFilteringSize
Link copied to clipboard
common
val afterFilteringSize: Int
The number of tracks available after min_* and max_* filters have been applied.
afterRelinkingSize
Link copied to clipboard
common
val afterRelinkingSize: Int? = null
The number of tracks available after relinking for regional availability.
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? = null
A link to the full track or artist data for this seed.
id
Link copied to clipboard
common
open override val id: String
The id used to select this seed.
initialPoolSize
Link copied to clipboard
common
val initialPoolSize: Int
The number of recommended tracks available for this seed.
type
Link copied to clipboard
common
val type: String
The entity type of this seed.

Sources

common source
Link copied to clipboard