public class AuthenticationResponse
extends java.lang.Object
implements android.os.Parcelable
AuthenticationResponse.Builder or
parse from Uri with fromUri(android.net.Uri)| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticationResponse.Builder
Use this builder to create an
AuthenticationResponse |
static class |
AuthenticationResponse.Type
The type of the authentication response.
|
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<AuthenticationResponse> |
CREATOR |
| Constructor and Description |
|---|
AuthenticationResponse(android.os.Parcel source) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static AuthenticationResponse |
fromUri(android.net.Uri uri)
Parses the URI returned from the Spotify accounts service.
|
java.lang.String |
getAccessToken() |
java.lang.String |
getCode() |
java.lang.String |
getError() |
int |
getExpiresIn() |
java.lang.String |
getState() |
AuthenticationResponse.Type |
getType() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<AuthenticationResponse> CREATOR
public static AuthenticationResponse fromUri(android.net.Uri uri)
uri - URIpublic AuthenticationResponse.Type getType()
public java.lang.String getCode()
public java.lang.String getAccessToken()
public java.lang.String getState()
public java.lang.String getError()
public int getExpiresIn()
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable