Skip navigation links
A B C D F G I L O R S T V W 

A

AuthCallbackActivity - Class in com.spotify.sdk.android.authentication
 
AuthCallbackActivity() - Constructor for class com.spotify.sdk.android.authentication.AuthCallbackActivity
 
AuthenticationClient - Class in com.spotify.sdk.android.authentication
AuthenticationClient provides helper methods to initialize an manage the Spotify authorization flow.
AuthenticationClient(Activity) - Constructor for class com.spotify.sdk.android.authentication.AuthenticationClient
 
AuthenticationHandler - Interface in com.spotify.sdk.android.authentication
 
AuthenticationHandler.OnCompleteListener - Interface in com.spotify.sdk.android.authentication
 
AuthenticationRequest - Class in com.spotify.sdk.android.authentication
An object that helps construct the request that is sent to Spotify authentication service.
AuthenticationRequest(Parcel) - Constructor for class com.spotify.sdk.android.authentication.AuthenticationRequest
 
AuthenticationRequest.Builder - Class in com.spotify.sdk.android.authentication
Use this builder to create an AuthenticationRequest
AuthenticationResponse - Class in com.spotify.sdk.android.authentication
An object that contains the parsed response from the Spotify authentication service.
AuthenticationResponse(Parcel) - Constructor for class com.spotify.sdk.android.authentication.AuthenticationResponse
 
AuthenticationResponse.Builder - Class in com.spotify.sdk.android.authentication
Use this builder to create an AuthenticationResponse
AuthenticationResponse.Type - Enum in com.spotify.sdk.android.authentication
The type of the authentication response.

B

build() - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest.Builder
 
build() - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 
Builder(String, AuthenticationResponse.Type, String) - Constructor for class com.spotify.sdk.android.authentication.AuthenticationRequest.Builder
 
Builder() - Constructor for class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 

C

com.spotify.sdk.android.authentication - package com.spotify.sdk.android.authentication
Contains classes used in authentication process.
createLoginActivityIntent(Activity, AuthenticationRequest) - Static method in class com.spotify.sdk.android.authentication.AuthenticationClient
Get an intent to open the LoginActivity.
CREATOR - Static variable in class com.spotify.sdk.android.authentication.AuthenticationRequest
 
CREATOR - Static variable in class com.spotify.sdk.android.authentication.AuthenticationResponse
 
CustomTabAuthHandler - Class in com.spotify.sdk.android.authentication
 
CustomTabAuthHandler() - Constructor for class com.spotify.sdk.android.authentication.CustomTabAuthHandler
 

D

describeContents() - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest
 
describeContents() - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse
 

F

fromUri(Uri) - Static method in class com.spotify.sdk.android.authentication.AuthenticationResponse
Parses the URI returned from the Spotify accounts service.

G

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

I

isAvailable(Context, Intent) - Static method in class com.spotify.sdk.android.authentication.AuthenticationClient
 

L

LoginActivity - Class in com.spotify.sdk.android.authentication
The activity that manages the login flow.
LoginActivity() - Constructor for class com.spotify.sdk.android.authentication.LoginActivity
 

O

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

R

REQUEST_CODE - Static variable in class com.spotify.sdk.android.authentication.LoginActivity
 
REQUEST_KEY - Static variable in class com.spotify.sdk.android.authentication.LoginActivity
 
RESPONSE_KEY - Static variable in class com.spotify.sdk.android.authentication.LoginActivity
 

S

setAccessToken(String) - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 
setCampaign(String) - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest.Builder
 
setCode(String) - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 
setCustomParam(String, String) - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest.Builder
 
setError(String) - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 
setExpiresIn(int) - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 
setOnCompleteListener(AuthenticationHandler.OnCompleteListener) - Method in interface com.spotify.sdk.android.authentication.AuthenticationHandler
 
setOnCompleteListener(AuthenticationHandler.OnCompleteListener) - Method in class com.spotify.sdk.android.authentication.CustomTabAuthHandler
 
setScopes(String[]) - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest.Builder
 
setShowDialog(boolean) - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest.Builder
 
setState(String) - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest.Builder
 
setState(String) - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 
setType(AuthenticationResponse.Type) - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse.Builder
 
SpotifyNativeAuthUtil - Class in com.spotify.sdk.android.authentication
 
SpotifyNativeAuthUtil(Activity, AuthenticationRequest) - Constructor for class com.spotify.sdk.android.authentication.SpotifyNativeAuthUtil
 
start(Activity, AuthenticationRequest) - Method in interface com.spotify.sdk.android.authentication.AuthenticationHandler
 
start(Activity, AuthenticationRequest) - Method in class com.spotify.sdk.android.authentication.CustomTabAuthHandler
 
startAuthActivity() - Method in class com.spotify.sdk.android.authentication.SpotifyNativeAuthUtil
 
stop() - Method in interface com.spotify.sdk.android.authentication.AuthenticationHandler
 
stop() - Method in class com.spotify.sdk.android.authentication.CustomTabAuthHandler
 
stopAuthActivity() - Method in class com.spotify.sdk.android.authentication.SpotifyNativeAuthUtil
 
stopLoginActivity(Activity, int) - Static method in class com.spotify.sdk.android.authentication.AuthenticationClient
Stops any running LoginActivity

T

toString() - Method in enum com.spotify.sdk.android.authentication.AuthenticationResponse.Type
 
toUri() - Method in class com.spotify.sdk.android.authentication.AuthenticationRequest
 

V

valueOf(String) - Static method in enum com.spotify.sdk.android.authentication.AuthenticationResponse.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.spotify.sdk.android.authentication.AuthenticationResponse.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.authentication.AuthenticationRequest
 
writeToParcel(Parcel, int) - Method in class com.spotify.sdk.android.authentication.AuthenticationResponse
 
A B C D F G I L O R S T V W 
Skip navigation links