Spotify Api Builder
class SpotifyApiBuilder(clientId: String?, clientSecret: String?, redirectUri: String?)
Content copied to clipboard
Spotify API builder
Constructors
SpotifyApiBuilder
Link copied to clipboard
fun SpotifyApiBuilder(clientId: String?, clientSecret: String?, redirectUri: String?)
Content copied to clipboard
Functions
allowBulkRequests
Link copied to clipboard
authorizationCode
Link copied to clipboard
automaticRefresh
Link copied to clipboard
build
Link copied to clipboard
Create a SpotifyApi instance with the given SpotifyApiBuilder parameters and the type - AuthorizationType.CLIENT for client authentication, or otherwise AuthorizationType.APPLICATION
buildClient
Link copied to clipboard
Create a new SpotifyClientApi that has access to public endpoints, in addition to endpoints requiring scopes contained in the client authorization request
buildClientRestAction
Link copied to clipboard
Create a new SpotifyClientApi that has access to public endpoints, in addition to endpoints requiring scopes contained in the client authorization request
buildCredentialed
Link copied to clipboard
buildCredentialedRestAction
Link copied to clipboard
buildPublic
Link copied to clipboard
buildPublicRestAction
Link copied to clipboard
buildRestAction
Link copied to clipboard
fun buildRestAction(type: AuthorizationType): SpotifyRestAction<GenericSpotifyApi>
Content copied to clipboard
Create a SpotifyApi instance with the given SpotifyApiBuilder parameters and the type - AuthorizationType.CLIENT for client authentication, or otherwise AuthorizationType.APPLICATION
cacheLimit
Link copied to clipboard
clientId
Link copied to clipboard
clientSecret
Link copied to clipboard
defaultLimit
Link copied to clipboard
enableLogger
Link copied to clipboard
redirectUri
Link copied to clipboard
requestTimeoutMillis
Link copied to clipboard
retryWhenRateLimited
Link copied to clipboard
fun retryWhenRateLimited(retryWhenRateLimited: Boolean): SpotifyApiBuilder
Content copied to clipboard
testTokenValidity
Link copied to clipboard
token
Link copied to clipboard
tokenString
Link copied to clipboard
useCache
Link copied to clipboard
Properties
authorization
Link copied to clipboard
Allows you to authenticate a SpotifyClientApi with an authorization code or build SpotifyApi using a refresh token
options
Link copied to clipboard
Sources
common source
Link copied to clipboard