SKTrack

public struct SKTrack : Track, JSONDecodable

A Spotify track.

See also

The Web API Simplified and Full Track objects.
  • Declaration

    Swift

    public var duration: TimeInterval { get }
  • Declaration

    Swift

    public var contentRating: SKContentRating { get }
  • Declaration

    Swift

    public let artists: [SKArtist]
  • Declaration

    Swift

    public let availableMarkets: [String]?
  • Declaration

    Swift

    public let discNumber: Int
  • Declaration

    Swift

    public let externalURLs: [String : URL]
  • id

    Declaration

    Swift

    public let id: String
  • Declaration

    Swift

    public let isPlayable: Bool?
  • Declaration

    Swift

    public let name: String
  • Declaration

    Swift

    public let previewURL: URL?
  • Declaration

    Swift

    public let trackLinks: SKTrackLinks?
  • Declaration

    Swift

    public let trackNumber: Int
  • uri

    Declaration

    Swift

    public let uri: String
  • url

    Declaration

    Swift

    public let url: URL
  • Declaration

    Swift

    public let album: SKAlbum?
  • Declaration

    Swift

    public let externalIDs: [String : String]?
  • Declaration

    Swift

    public let popularity: Int?
  • Declaration

    Swift

    public var isSimplified: Bool { get }