Spotify Api Options
API Utilities
Parameters
Set whether to cache requests. Default: true
The maximum amount of cached requests allowed at one time. Null means no limit
Enable or disable automatic refresh of the Spotify access token
Set whether to block the current thread and wait until the API can retry the request
After API creation, test whether the token is valid by performing a lightweight request
The default amount of objects to retrieve in one request
The Json serializer/deserializer instance
Allow splitting too-large requests into smaller, allowable api requests
The maximum time, in milliseconds, before terminating an http request
Provide if you want to use your own logic when refreshing a Spotify token
Provide if you want to act on token refresh event
Scopes that your application requires to function (only applicable to SpotifyClientApi and SpotifyImplicitGrantApi).
Provide if you have a proxy base URL that you would like to use instead of the Spotify API base (https://api.spotify.com/v1).
Whether and how often to retry once if an internal server error (500..599) has been received. Set to 0 to avoid retrying at all, or set to null to keep retrying until success.
Whether to enable debug mode (false by default). With debug mode, all response JSON will be outputted to console.
An optional block to execute after token refresh has been completed.
An optional suspending method to subscribe to successful http responses.