Class AuthorizationResponse

    • Constructor Detail

      • AuthorizationResponse

        public AuthorizationResponse​(android.os.Parcel source)
    • Method Detail

      • fromUri

        public static AuthorizationResponse fromUri​(android.net.Uri uri)
        Parses the URI returned from the Spotify accounts service.
        Parameters:
        uri - URI
        Returns:
        Authorization response. If parsing failed, this object will be populated with the given error codes.
      • getCode

        public java.lang.String getCode()
      • getAccessToken

        public java.lang.String getAccessToken()
      • getState

        public java.lang.String getState()
      • getError

        public java.lang.String getError()
      • getExpiresIn

        public int getExpiresIn()
      • 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