Inherits from SPTJSONObjectBase : NSObject
Conforms to SPTPartialObject
SPTTrackProvider
Declared in SPTPartialPlaylist.h

Overview

Represents a “partial” playlist on the Spotify service. You can promote this to a full playlist object using SPTPlaylistSnapshot.

API Model: https://developer.spotify.com/web-api/object-model/#playlist-object-simplified

Playlist Guide: https://developer.spotify.com/web-api/working-with-playlists/

Tasks

Properties

Properties

images

Returns a list of playlist image in various sizes, as SPTImage objects.

@property (nonatomic, readonly, copy) NSArray *images

Discussion

Will be nil if the playlist doesn’t have a custom image.

Declared In

SPTPartialPlaylist.h

isCollaborative

YES if the playlist is collaborative (i.e., can be modified by anyone), otherwise NO.

@property (nonatomic, readonly) BOOL isCollaborative

Declared In

SPTPartialPlaylist.h

isPublic

YES if the playlist is public (i.e., can be seen by anyone), otherwise NO.

@property (nonatomic, readonly) BOOL isPublic

Declared In

SPTPartialPlaylist.h

largestImage

Convenience method that returns the largest available playlist image.

@property (nonatomic, readonly) SPTImage *largestImage

Discussion

Will be nil if the playlist doesn’t have a custom image.

Declared In

SPTPartialPlaylist.h

name

The name of the playlist.

@property (nonatomic, readonly, copy) NSString *name

Declared In

SPTPartialPlaylist.h

owner

The owner of the playlist.

@property (nonatomic, readonly) SPTUser *owner

Declared In

SPTPartialPlaylist.h

playableUri

The playable Spotify URI for the playlist.

@property (nonatomic, readonly, copy) NSURL *playableUri

Declared In

SPTPartialPlaylist.h

smallestImage

Convenience method that returns the smallest available playlist image.

@property (nonatomic, readonly) SPTImage *smallestImage

Discussion

Will be nil if the playlist doesn’t have a custom image.

Declared In

SPTPartialPlaylist.h

trackCount

The number of tracks in the playlist.

@property (nonatomic, readonly) NSUInteger trackCount

Declared In

SPTPartialPlaylist.h

uri

The Spotify URI of the playlist.

@property (nonatomic, readonly, copy) NSURL *uri

Declared In

SPTPartialPlaylist.h