You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Control playback of a Spotify track. This scope is currently available to Spotify Playback SDKs, including the iOS SDK, Android SDK and Web Playback SDK. The user must have a Spotify Premium account.
51
+
*
52
+
* **Visible to users**: Play music and control playback on your other devices.
53
+
*/
54
+
STREAMING("streaming"),
55
+
56
+
/**
57
+
* Let the application upload playlist covers and profile images
58
+
*
59
+
* **Visible to users**: Upload images to personalize your profile or playlist cover
60
+
*/
18
61
UGC_IMAGE_UPLOAD("ugc-image-upload"),
62
+
63
+
/**
64
+
* Write/delete access to the list of artists and other users that the user follows.
65
+
*
66
+
* **Visible to users**: Manage who you are following.
67
+
*/
19
68
USER_FOLLOW_MODIFY("user-follow-modify"),
69
+
70
+
/**
71
+
* Read access to the list of artists and other users that the user follows.
72
+
*
73
+
* **Visible to users**: Access your followers and who you are following.
74
+
*/
20
75
USER_FOLLOW_READ("user-follow-read"),
76
+
77
+
/**
78
+
* Read access to a user's "Your Music" library.
79
+
*
80
+
* **Visible to users**: Access your saved tracks and albums.
81
+
*/
21
82
USER_LIBRARY_READ("user-library-read"),
83
+
84
+
/**
85
+
* Write/delete access to a user's "Your Music" library.
86
+
*
87
+
* **Visible to users**: Manage your saved tracks and albums.
88
+
*/
22
89
USER_LIBRARY_MODIFY("user-library-modify"),
90
+
91
+
/**
92
+
* Write access to a user’s playback state
93
+
*
94
+
* **Visible to users**: Control playback on your Spotify clients and Spotify Connect devices.
@@ -56,6 +57,8 @@ class ClientPlayerAPI(api: SpotifyAPI) : SpotifyEndpoint(api) {
56
57
/**
57
58
* Get tracks from the current user’s recently played tracks.
58
59
*
60
+
* **Requires** the [SpotifyScope.USER_READ_RECENTLY_PLAYED] scope
61
+
*
59
62
* @param limit The number of objects to return. Default: 20. Minimum: 1. Maximum: 50.
60
63
* @param before The timestamp (retrieved via cursor) **not including**, but before which, tracks will have been played. This can be combined with [limit]
61
64
* @param after The timestamp (retrieved via cursor) **not including**, after which, the retrieval starts. This can be combined with [limit]
0 commit comments