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 canSkipNext

Declared In

SPTAppRemotePlaybackRestrictions.h

  canSkipPrevious required method

YES if the user can skip to the previous track, otherwise NO.

@property (nonatomic, readonly) BOOL canSkipPrevious

Declared In

SPTAppRemotePlaybackRestrictions.h

  canRepeatTrack required method

YES if the user can repeat the current track, otherwise NO.

@property (nonatomic, readonly) BOOL canRepeatTrack

Declared In

SPTAppRemotePlaybackRestrictions.h

  canRepeatContext required method

YES if the user can repeat the current context, otherwise NO.

@property (nonatomic, readonly) BOOL canRepeatContext

Declared In

SPTAppRemotePlaybackRestrictions.h

  canToggleShuffle required method

YES if the user can toggle shuffle, otherwise NO.

@property (nonatomic, readonly) BOOL canToggleShuffle

Declared In

SPTAppRemotePlaybackRestrictions.h