Class 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 use AuthorizationRequest.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 an AuthorizationRequest
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<AuthorizationRequest> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthorizationRequest​(android.os.Parcel source)  
    • Constructor Detail

      • AuthorizationRequest

        public AuthorizationRequest​(android.os.Parcel source)
    • 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 interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable