SPTAppRemotePlaybackRestrictions Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | SPTAppRemotePlaybackRestrictions.h |
Overview
The SPTAppRemotePlaybackRestrictions describes a set of restrictions for playback in the Spotify client.
Use these to determine whether to enable or disable certain actions in the UI.
canSkipNext
required method
YES if the user can skip to the next track, otherwise NO.
@property (nonatomic, readonly) BOOL canSkipNextDeclared In
SPTAppRemotePlaybackRestrictions.h
canSkipPrevious
required method
YES if the user can skip to the previous track, otherwise NO.
@property (nonatomic, readonly) BOOL canSkipPreviousDeclared In
SPTAppRemotePlaybackRestrictions.h
canRepeatTrack
required method
YES if the user can repeat the current track, otherwise NO.
@property (nonatomic, readonly) BOOL canRepeatTrackDeclared In
SPTAppRemotePlaybackRestrictions.h
canRepeatContext
required method
YES if the user can repeat the current context, otherwise NO.
@property (nonatomic, readonly) BOOL canRepeatContextDeclared In
SPTAppRemotePlaybackRestrictions.h
canToggleShuffle
required method
YES if the user can toggle shuffle, otherwise NO.
@property (nonatomic, readonly) BOOL canToggleShuffleDeclared In
SPTAppRemotePlaybackRestrictions.h
canSeek
required method
YES if the user can seek to specific positions, otherwise NO.
@property (nonatomic, readonly) BOOL canSeekDeclared In
SPTAppRemotePlaybackRestrictions.h