I Spotify Client Api Builder
interface ISpotifyClientApiBuilder : ISpotifyApiBuilder<SpotifyClientApi, SpotifyClientApiBuilder>
Content copied to clipboard
Client interface exposing getAuthorizationUrl
Functions
authentication
Link copied to clipboard
open fun authentication(block: SpotifyUserAuthorization.() -> Unit): ISpotifyApiBuilder<SpotifyClientApi, SpotifyClientApiBuilder>
Content copied to clipboard
Allows you to authenticate a SpotifyClientApi with an authorization code or build SpotifyApi using a refresh token
authorization
Link copied to clipboard
open fun authorization(authorization: SpotifyUserAuthorization): ISpotifyApiBuilder<SpotifyClientApi, SpotifyClientApiBuilder>
Content copied to clipboard
open fun authorization(block: SpotifyUserAuthorization.() -> Unit): ISpotifyApiBuilder<SpotifyClientApi, SpotifyClientApiBuilder>
Content copied to clipboard
Allows you to authenticate a SpotifyClientApi with an authorization code or build SpotifyApi using a refresh token
build
Link copied to clipboard
abstract suspend fun build(enableDefaultTokenRefreshProducerIfNoneExists: Boolean = true): SpotifyClientApi
Content copied to clipboard
Build the T by provided information
buildRestAction
Link copied to clipboard
open fun buildRestAction(enableDefaultTokenRefreshProducerIfNoneExists: Boolean = true): SpotifyRestAction<SpotifyClientApi>
Content copied to clipboard
Build the T by provided information
credentials
Link copied to clipboard
open fun credentials(block: SpotifyCredentials.() -> Unit): ISpotifyApiBuilder<SpotifyClientApi, SpotifyClientApiBuilder>
Content copied to clipboard
A block in which Spotify application credentials (accessible via the Spotify dashboard) should be put
getAuthorizationUrl
Link copied to clipboard
abstract fun getAuthorizationUrl(vararg scopes: SpotifyScope, state: String? = null): String
Content copied to clipboard
options
Link copied to clipboard
open fun options(options: SpotifyApiOptions): ISpotifyApiBuilder<SpotifyClientApi, SpotifyClientApiBuilder>
Content copied to clipboard
open fun options(block: SpotifyApiOptions.() -> Unit): ISpotifyApiBuilder<SpotifyClientApi, SpotifyClientApiBuilder>
Content 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
credentials
Link copied to clipboard
A block in which Spotify application credentials (accessible via the Spotify dashboard) should be put
options
Link copied to clipboard
Inheritors
SpotifyClientApiBuilder
Link copied to clipboard
Sources
common source
Link copied to clipboard