SPTScope Constants Reference

Declared in SPTScope.h

SPTScope

SPTScope represents the OAuth scopes that declare how your app wants to access a user’s account. See https://developer.spotify.com/web-api/using-scopes/ for more information.

Definition

typedef NS_OPTIONS(NSUInteger, SPTScope ) {
   SPTPlaylistReadPrivateScope = ( 1 < < 0 ),
   SPTPlaylistReadCollaborativeScope = ( 1 < < 1 ),
   SPTPlaylistModifyPublicScope = ( 1 < < 2 ),
   SPTPlaylistModifyPrivateScope = ( 1 < < 3 ),
   SPTUserFollowReadScope = ( 1 < < 4 ),
   SPTUserFollowModifyScope = ( 1 < < 5 ),
   SPTUserLibraryReadScope = ( 1 < < 6 ),
   SPTUserLibraryModifyScope = ( 1 < < 7 ),
   SPTUserReadBirthDateScope = ( 1 < < 8 ),
   SPTUserReadEmailScope = ( 1 < < 9 ),
   SPTUserReadPrivateScope = ( 1 < < 10 ),
   SPTUserTopReadScope = ( 1 < < 11 ),
   SPTUGCImageUploadScope = ( 1 < < 12 ),
   SPTStreamingScope = ( 1 < < 13 ),
   SPTAppRemoteControlScope = ( 1 < < 14 ),
   SPTUserReadPlaybackStateScope = ( 1 < < 15 ),
   SPTUserModifyPlaybackStateScope = ( 1 < < 16 ),
   SPTUserReadCurrentlyPlayingScope = ( 1 < < 17 ),
   SPTUserReadRecentlyPlayedScope = ( 1 < < 18 ),
   SPTOpenIdScope = ( 1 < < 19 ),
};

Constants

SPTPlaylistReadPrivateScope

Read access to user’s private playlists.

Declared In SPTScope.h.

SPTPlaylistReadCollaborativeScope

Include collaborative playlists when requesting a user’s playlists.

Declared In SPTScope.h.

SPTPlaylistModifyPublicScope

Write access to a user’s public playlists.

Declared In SPTScope.h.

SPTPlaylistModifyPrivateScope

Write access to a user’s private playlists.

Declared In SPTScope.h.

SPTUserFollowReadScope

Read access to the list of artists and other users that the user follows.

Declared In SPTScope.h.

SPTUserFollowModifyScope

Write/delete access to the list of artists and other users that the user follows.

Declared In SPTScope.h.

SPTUserLibraryReadScope

Read access to a user’s “Your Music” library.

Declared In SPTScope.h.

SPTUserLibraryModifyScope

Write/delete access to a user’s “Your Music” library.

Declared In SPTScope.h.

SPTUserReadBirthDateScope

Read access to the user’s birthdate.

Declared In SPTScope.h.

SPTUserReadEmailScope

Read access to user’s email address.

Declared In SPTScope.h.

SPTUserReadPrivateScope

Read access to user’s subscription details (type of user account).

Declared In SPTScope.h.

SPTUserTopReadScope

Read access to a user’s top artists and tracks.

Declared In SPTScope.h.

SPTUGCImageUploadScope

Upload user generated content images

Declared In SPTScope.h.

SPTStreamingScope

Control playback of a Spotify track.

Declared In SPTScope.h.

SPTAppRemoteControlScope

Use App Remote to control playback in the Spotify app

Declared In SPTScope.h.

SPTUserReadPlaybackStateScope

Read access to a user’s player state.

Declared In SPTScope.h.

SPTUserModifyPlaybackStateScope

Write access to a user’s playback state

Declared In SPTScope.h.

SPTUserReadCurrentlyPlayingScope

Read access to a user’s currently playing track

Declared In SPTScope.h.

SPTUserReadRecentlyPlayedScope

Read access to a user’s currently playing track

Declared In SPTScope.h.

SPTOpenIdScope

Indicate that the application intends to use OIDC to verify the user’s identity

Declared In SPTScope.h.

Declared In

SPTScope.h