Package com.spotify.sdk.android.auth
Class AuthorizationRequest
- java.lang.Object
-
- com.spotify.sdk.android.auth.AuthorizationRequest
-
- All Implemented Interfaces:
android.os.Parcelable
public class AuthorizationRequest extends java.lang.Object implements android.os.Parcelable
An object that helps construct the request that is sent to Spotify authorization service. To create one useAuthorizationRequest.Builder
- See Also:
- Web API Authorization guide
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthorizationRequest.Builder
Use this builder to create anAuthorizationRequest
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<AuthorizationRequest>
CREATOR
-
Constructor Summary
Constructors Constructor Description AuthorizationRequest(android.os.Parcel source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
java.lang.String
getCampaign()
java.lang.String
getClientId()
java.lang.String
getCustomParam(java.lang.String key)
java.lang.String
getRedirectUri()
java.lang.String
getResponseType()
java.lang.String[]
getScopes()
java.lang.String
getState()
android.net.Uri
toUri()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<AuthorizationRequest> CREATOR
-
-
Method Detail
-
getClientId
public java.lang.String getClientId()
-
getResponseType
public java.lang.String getResponseType()
-
getRedirectUri
public java.lang.String getRedirectUri()
-
getState
public java.lang.String getState()
-
getScopes
public java.lang.String[] getScopes()
-
getCustomParam
public java.lang.String getCustomParam(java.lang.String key)
-
getCampaign
public java.lang.String getCampaign()
-
toUri
public android.net.Uri toUri()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-