A B C D E F G I K L O P R S T U V W 
All Classes All Packages

A

ACCESS_TOKEN - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
AccountsQueryParameters - Interface in com.spotify.sdk.android.auth
 
AuthorizationClient - Class in com.spotify.sdk.android.auth
AuthorizationClient provides helper methods to initialize an manage the Spotify authorization flow.
AuthorizationClient(Activity) - Constructor for class com.spotify.sdk.android.auth.AuthorizationClient
 
AuthorizationHandler - Interface in com.spotify.sdk.android.auth
 
AuthorizationHandler.OnCompleteListener - Interface in com.spotify.sdk.android.auth
 
AuthorizationRequest - Class in com.spotify.sdk.android.auth
An object that helps construct the request that is sent to Spotify authorization service.
AuthorizationRequest(Parcel) - Constructor for class com.spotify.sdk.android.auth.AuthorizationRequest
 
AuthorizationRequest.Builder - Class in com.spotify.sdk.android.auth
Use this builder to create an AuthorizationRequest
AuthorizationResponse - Class in com.spotify.sdk.android.auth
An object that contains the parsed response from the Spotify authorization service.
AuthorizationResponse(Parcel) - Constructor for class com.spotify.sdk.android.auth.AuthorizationResponse
 
AuthorizationResponse.Builder - Class in com.spotify.sdk.android.auth
Use this builder to create an AuthorizationResponse
AuthorizationResponse.Type - Enum in com.spotify.sdk.android.auth
The type of the authorization response.

B

build() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest.Builder
 
BUILD_TYPE - Static variable in class com.spotify.sdk.android.auth.BuildConfig
 
BuildConfig - Class in com.spotify.sdk.android.auth
 
BuildConfig() - Constructor for class com.spotify.sdk.android.auth.BuildConfig
 
Builder() - Constructor for class com.spotify.sdk.android.auth.AuthorizationResponse.Builder
 
Builder(String, AuthorizationResponse.Type, String) - Constructor for class com.spotify.sdk.android.auth.AuthorizationRequest.Builder
 

C

CLIENT_ID - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
CODE - com.spotify.sdk.android.auth.AuthorizationResponse.Type
The response is a code reply.
CODE - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
com.spotify.sdk.android.auth - package com.spotify.sdk.android.auth
 
com.spotify.sdk.android.auth.app - package com.spotify.sdk.android.auth.app
 
com.spotify.sdk.android.auth.store - package com.spotify.sdk.android.auth.store
 
createAuthActivityIntent(Context) - Static method in class com.spotify.sdk.android.auth.app.SpotifyNativeAuthUtil
Creates an intent that will launch the auth flow on the currently installed Spotify application
createLoginActivityIntent(Activity, AuthorizationRequest) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
Get an intent to open the LoginActivity.
CREATOR - Static variable in class com.spotify.sdk.android.auth.AuthorizationRequest
 
CREATOR - Static variable in class com.spotify.sdk.android.auth.AuthorizationResponse
 

D

DEBUG - Static variable in class com.spotify.sdk.android.auth.BuildConfig
 
describeContents() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
describeContents() - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 

E

EMPTY - com.spotify.sdk.android.auth.AuthorizationResponse.Type
Response doesn't contain data because auth flow was cancelled or LoginActivity killed.
ERROR - com.spotify.sdk.android.auth.AuthorizationResponse.Type
The response is an error response.
ERROR - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
EXPIRES_IN - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 

F

FallbackHandlerProvider - Class in com.spotify.sdk.android.auth
Provides an AuthorizationHandler that opens the play store when the Spotify application is not installed
FallbackHandlerProvider() - Constructor for class com.spotify.sdk.android.auth.FallbackHandlerProvider
 
FLAVOR - Static variable in class com.spotify.sdk.android.auth.BuildConfig
 
fromUri(Uri) - Static method in class com.spotify.sdk.android.auth.AuthorizationResponse
Parses the URI returned from the Spotify accounts service.

G

getAccessToken() - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 
getAuthIntent(Activity, AuthorizationRequest) - Static method in class com.spotify.sdk.android.auth.LoginActivity
 
getCampaign() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
getClientId() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
getCode() - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 
getCustomParam(String) - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
getError() - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 
getExpiresIn() - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 
getRedirectUri() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
getResponse(int, Intent) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
Extracts AuthorizationResponse from the LoginActivity result.
getResponseType() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
getScopes() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
getState() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
getState() - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 
getType() - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 

I

IntentExtras - Interface in com.spotify.sdk.android.auth
 
isAvailable(Context, Intent) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
 
isSpotifyInstalled(Context) - Static method in class com.spotify.sdk.android.auth.app.SpotifyNativeAuthUtil
Check if a version of the Spotify main application is installed

K

KEY_ACCESS_TOKEN - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_AUTHORIZATION_CODE - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_CLIENT_ID - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_EXPIRES_IN - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_REDIRECT_URI - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_REQUESTED_SCOPES - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_RESPONSE_TYPE - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_STATE - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 
KEY_VERSION - Static variable in interface com.spotify.sdk.android.auth.IntentExtras
 

L

LIB_VERSION_NAME - Static variable in class com.spotify.sdk.android.auth.BuildConfig
 
LIBRARY_PACKAGE_NAME - Static variable in class com.spotify.sdk.android.auth.BuildConfig
 
LoginActivity - Class in com.spotify.sdk.android.auth
The activity that manages the login flow.
LoginActivity() - Constructor for class com.spotify.sdk.android.auth.LoginActivity
 

O

onActivityResult(int, int, Intent) - Method in class com.spotify.sdk.android.auth.LoginActivity
 
onCancel() - Method in interface com.spotify.sdk.android.auth.AuthorizationHandler.OnCompleteListener
 
onClientCancelled() - Method in class com.spotify.sdk.android.auth.LoginActivity
 
onClientComplete(AuthorizationResponse) - Method in class com.spotify.sdk.android.auth.LoginActivity
 
onComplete(AuthorizationResponse) - Method in interface com.spotify.sdk.android.auth.AuthorizationHandler.OnCompleteListener
 
onCreate(Bundle) - Method in class com.spotify.sdk.android.auth.LoginActivity
 
onDestroy() - Method in class com.spotify.sdk.android.auth.LoginActivity
 
onError(Throwable) - Method in interface com.spotify.sdk.android.auth.AuthorizationHandler.OnCompleteListener
 
onNewIntent(Intent) - Method in class com.spotify.sdk.android.auth.LoginActivity
 
openDownloadSpotifyActivity(Activity) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
Opens Spotify in the Play Store or browser.
openDownloadSpotifyActivity(Activity, String) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
Opens Spotify in the Play Store or browser.
openLoginActivity(Activity, int, AuthorizationRequest) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
Opens LoginActivity which performs authorization.
openLoginInBrowser(Activity, AuthorizationRequest) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
Triggers an intent to open the Spotify accounts service in a browser.

P

PlayStoreHandler - Class in com.spotify.sdk.android.auth.store
An AuthorizationHandler that opens the play store to download the main Spotify application
PlayStoreHandler() - Constructor for class com.spotify.sdk.android.auth.store.PlayStoreHandler
 
provideFallback() - Method in class com.spotify.sdk.android.auth.FallbackHandlerProvider
 

R

REDIRECT_URI - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
REQUEST_CODE - Static variable in class com.spotify.sdk.android.auth.LoginActivity
 
REQUEST_KEY - Static variable in class com.spotify.sdk.android.auth.LoginActivity
 
RESPONSE_KEY - Static variable in class com.spotify.sdk.android.auth.LoginActivity
 
RESPONSE_TYPE - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 

S

SCOPE - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
setCampaign(String) - Method in class com.spotify.sdk.android.auth.AuthorizationRequest.Builder
 
setCustomParam(String, String) - Method in class com.spotify.sdk.android.auth.AuthorizationRequest.Builder
 
setOnCompleteListener(AuthorizationHandler.OnCompleteListener) - Method in class com.spotify.sdk.android.auth.app.SpotifyAuthHandler
 
setOnCompleteListener(AuthorizationHandler.OnCompleteListener) - Method in interface com.spotify.sdk.android.auth.AuthorizationHandler
 
setOnCompleteListener(AuthorizationHandler.OnCompleteListener) - Method in class com.spotify.sdk.android.auth.store.PlayStoreHandler
AuthorizationHandler.OnCompleteListener.onError(Throwable) will be called if no play store application is installed AuthorizationHandler.OnCompleteListener.onCancel() will be called if the play store is launched
setScopes(String[]) - Method in class com.spotify.sdk.android.auth.AuthorizationRequest.Builder
 
setShowDialog(boolean) - Method in class com.spotify.sdk.android.auth.AuthorizationRequest.Builder
 
setState(String) - Method in class com.spotify.sdk.android.auth.AuthorizationRequest.Builder
 
SHOW_DIALOG - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
SpotifyAuthHandler - Class in com.spotify.sdk.android.auth.app
 
SpotifyAuthHandler() - Constructor for class com.spotify.sdk.android.auth.app.SpotifyAuthHandler
 
SpotifyNativeAuthUtil - Class in com.spotify.sdk.android.auth.app
 
SpotifyNativeAuthUtil(Activity, AuthorizationRequest, Sha1HashUtil) - Constructor for class com.spotify.sdk.android.auth.app.SpotifyNativeAuthUtil
 
start(Activity, AuthorizationRequest) - Method in class com.spotify.sdk.android.auth.app.SpotifyAuthHandler
 
start(Activity, AuthorizationRequest) - Method in interface com.spotify.sdk.android.auth.AuthorizationHandler
 
start(Activity, AuthorizationRequest) - Method in class com.spotify.sdk.android.auth.store.PlayStoreHandler
 
startAuthActivity() - Method in class com.spotify.sdk.android.auth.app.SpotifyNativeAuthUtil
 
STATE - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
stop() - Method in class com.spotify.sdk.android.auth.app.SpotifyAuthHandler
 
stop() - Method in interface com.spotify.sdk.android.auth.AuthorizationHandler
 
stop() - Method in class com.spotify.sdk.android.auth.store.PlayStoreHandler
 
stopAuthActivity() - Method in class com.spotify.sdk.android.auth.app.SpotifyNativeAuthUtil
 
stopLoginActivity(Activity, int) - Static method in class com.spotify.sdk.android.auth.AuthorizationClient
Stops any running LoginActivity

T

TOKEN - com.spotify.sdk.android.auth.AuthorizationResponse.Type
The response is an implicit grant with access token.
toString() - Method in enum com.spotify.sdk.android.auth.AuthorizationResponse.Type
 
toUri() - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 

U

UNKNOWN - com.spotify.sdk.android.auth.AuthorizationResponse.Type
The response is unknown.
UTM_CAMPAIGN - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
UTM_MEDIUM - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 
UTM_SOURCE - Static variable in interface com.spotify.sdk.android.auth.AccountsQueryParameters
 

V

valueOf(String) - Static method in enum com.spotify.sdk.android.auth.AuthorizationResponse.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.spotify.sdk.android.auth.AuthorizationResponse.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeToParcel(Parcel, int) - Method in class com.spotify.sdk.android.auth.AuthorizationRequest
 
writeToParcel(Parcel, int) - Method in class com.spotify.sdk.android.auth.AuthorizationResponse
 
A B C D E F G I K L O P R S T U V W 
All Classes All Packages