Tracks
-
A type representing a Spotify track.
The
See moreTrack
protocol serves as the base protocol to which all Spotify track types conform. Its requirements include properties for bothsimplified
andfull
versions of a Spotify track. See the Spotify Web API Object Model for more details.Declaration
Swift
public protocol Track
-
Declaration
Swift
public struct SKTrack : Track, JSONDecodable
-
A Spotify track that has been saved to the current authenticated user’s music library.
See also
The Web API Saved Track object.Declaration
Swift
public struct SKSavedTrack : Track, JSONDecodable
-
A Spotify track that has been added to a Spotify playlist.
See also
The Web API Playlist Track object.Declaration
Swift
public struct SKPlaylistTrack : Track, JSONDecodable
-
Declaration
Swift
public struct SKRecentTrack : Track, Decodable
-
A structure representing the links to a relinked Spotify track. See the API Track Relinking guide for more details.
See also
The Web API Track Link object.Declaration
Swift
public struct SKTrackLinks : Decodable
-
The
audio features
representing a specific track’s audio attributes.See also
The Web API Audio Features object.Declaration
Swift
public struct SKAudioFeatures : JSONDecodable