ISpotifyAppApiBuilder

App Api builder interface

Functions

authentication
Link copied to clipboard
common
Allows you to authenticate a SpotifyClientApi with an authorization code or build SpotifyApi using a refresh token
authorization
Link copied to clipboard
common
open fun authorization(authorization: SpotifyUserAuthorization): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
Allows you to authenticate a SpotifyClientApi with an authorization code or build SpotifyApi using a refresh token
build
Link copied to clipboard
common
abstract suspend fun build(enableDefaultTokenRefreshProducerIfNoneExists: Boolean = true): SpotifyAppApi
Build the T by provided information
buildRestAction
Link copied to clipboard
common
open fun buildRestAction(enableDefaultTokenRefreshProducerIfNoneExists: Boolean = true): SpotifyRestAction<SpotifyAppApi>
Build the T by provided information
credentials
Link copied to clipboard
common
open fun credentials(block: SpotifyCredentials.() -> Unit): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
A block in which Spotify application credentials (accessible via the Spotify dashboard) should be put
options
Link copied to clipboard
common
open fun options(options: SpotifyApiOptions): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
Allows you to override default values for caching, token refresh, and logging
open fun options(block: SpotifyApiOptions.() -> Unit): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
Allows you to override default values for caching, token refresh, and logging

Properties

authorization
Link copied to clipboard
common
abstract var authorization: SpotifyUserAuthorization
Allows you to authenticate a SpotifyClientApi with an authorization code or build SpotifyApi using a refresh token
credentials
Link copied to clipboard
common
abstract var credentials: SpotifyCredentials
A block in which Spotify application credentials (accessible via the Spotify dashboard) should be put
options
Link copied to clipboard
common
abstract var options: SpotifyApiOptions
Allows you to override default values for caching, token refresh, and logging

Inheritors

SpotifyAppApiBuilder
Link copied to clipboard

Sources

common source
Link copied to clipboard