I Spotify App Api Builder
interface ISpotifyAppApiBuilder : ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
Content copied to clipboard
App Api builder interface
Functions
authentication
Link copied to clipboard
open fun authentication(block: SpotifyUserAuthorization.() -> Unit): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
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<SpotifyAppApi, SpotifyAppApiBuilder>
Content copied to clipboard
open fun authorization(block: SpotifyUserAuthorization.() -> Unit): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
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): SpotifyAppApi
Content copied to clipboard
Build the T by provided information
buildRestAction
Link copied to clipboard
open fun buildRestAction(enableDefaultTokenRefreshProducerIfNoneExists: Boolean = true): SpotifyRestAction<SpotifyAppApi>
Content copied to clipboard
Build the T by provided information
credentials
Link copied to clipboard
open fun credentials(block: SpotifyCredentials.() -> Unit): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
Content copied to clipboard
A block in which Spotify application credentials (accessible via the Spotify dashboard) should be put
options
Link copied to clipboard
open fun options(options: SpotifyApiOptions): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
Content copied to clipboard
open fun options(block: SpotifyApiOptions.() -> Unit): ISpotifyApiBuilder<SpotifyAppApi, SpotifyAppApiBuilder>
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
SpotifyAppApiBuilder
Link copied to clipboard
Sources
(source)
Link copied to clipboard