SPTPartialPlaylist Class Reference
| 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
-
nameproperty -
uriproperty -
playableUriproperty -
ownerproperty -
isCollaborativeproperty -
isPublicproperty -
trackCountproperty -
imagesproperty -
smallestImageproperty -
largestImageproperty
Properties
images
Returns a list of playlist image in various sizes, as SPTImage objects.
@property (nonatomic, readonly, copy) NSArray *imagesDiscussion
Will be nil if the playlist doesn’t have a custom image.
Declared In
SPTPartialPlaylist.hisCollaborative
YES if the playlist is collaborative (i.e., can be modified by anyone), otherwise NO.
@property (nonatomic, readonly) BOOL isCollaborativeDeclared In
SPTPartialPlaylist.hisPublic
YES if the playlist is public (i.e., can be seen by anyone), otherwise NO.
@property (nonatomic, readonly) BOOL isPublicDeclared In
SPTPartialPlaylist.hlargestImage
Convenience method that returns the largest available playlist image.
@property (nonatomic, readonly) SPTImage *largestImageDiscussion
Will be nil if the playlist doesn’t have a custom image.
Declared In
SPTPartialPlaylist.hname
The name of the playlist.
@property (nonatomic, readonly, copy) NSString *nameDeclared In
SPTPartialPlaylist.howner
The owner of the playlist.
@property (nonatomic, readonly) SPTUser *ownerDeclared In
SPTPartialPlaylist.hplayableUri
The playable Spotify URI for the playlist.
@property (nonatomic, readonly, copy) NSURL *playableUriDeclared In
SPTPartialPlaylist.hsmallestImage
Convenience method that returns the smallest available playlist image.
@property (nonatomic, readonly) SPTImage *smallestImageDiscussion
Will be nil if the playlist doesn’t have a custom image.
Declared In
SPTPartialPlaylist.h