@Immutable @LevelUpApi(contract=PUBLIC) public final class UserWithAccessToken extends Object implements Parcelable
User
and AccessToken
.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<UserWithAccessToken> |
CREATOR
Implements the
Parcelable interface. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
UserWithAccessToken(AccessToken accessToken,
User user) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
AccessToken |
getAccessToken() |
User |
getUser() |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<UserWithAccessToken> CREATOR
Parcelable
interface.public UserWithAccessToken(AccessToken accessToken, User user)
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public AccessToken getAccessToken()
public User getUser()