SKSeed
public struct SKSeed : JSONDecodable
A structure representing a Spotify media item used to generate a list of recommended tracks.
See also
The Web API Recommendations Seed object.-
Undocumented
See moreDeclaration
Swift
public enum SeedType : String, Codable -
The number of tracks available after
min*andmax*filters have been applied.Declaration
Swift
public let afterFilteringSize: Int -
The number of tracks available after relinking for regional availability.
Declaration
Swift
public let afterRelinkingSize: Int -
The number of recommended tracks available for this seed.
Declaration
Swift
public let initialPoolSize: Int -
The id used to select this seed. This will be the same as the string used in the
seed_artists,seed_tracksorseed_genresrequest parameter.Declaration
Swift
public let id: String -
The entity type of this seed. One of
artist,trackorgenre.Declaration
Swift
public let type: SeedType -
A link to the full track or artist data for this seed. For tracks, this will be a link to a full track; for artists, a link to a full artist; for genre seeds, this value will be
nil.Declaration
Swift
public let url: URL?
View on GitHub
SKSeed Structure Reference