STPlaylist

public struct STPlaylist : STPlaylistInterface

A Playlist representation, it contains an array of STTrack

  • List of tracks available in the playlist

    Declaration

    Swift

    public var tracks: [STTrack]
  • Get next track

    Declaration

    Swift

    public func getNext() -> STTrack?

    Return Value

    Next track or nil if there’s no more tracks

  • Get previous track

    Declaration

    Swift

    public func getPrev() -> STTrack?

    Return Value

    Previous track or nil if there’s no more tracks