public class LineAccessToken
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<LineAccessToken> |
CREATOR |
| Constructor and Description |
|---|
LineAccessToken(java.lang.String accessToken,
long expiresInMillis,
long issuedClientTimeMillis) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
long |
getEstimatedExpirationTimeMillis()
Gets the estimated time in UNIX time when the access token expires.
|
long |
getExpiresInMillis()
Gets the amount of time in milliseconds until the access token expires.
|
long |
getIssuedClientTimeMillis()
Gets the time in UNIX time when the access token information was last updated.
|
java.lang.String |
getTokenString()
Gets the string representation of the access token.
|
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<LineAccessToken> CREATOR
public LineAccessToken(java.lang.String accessToken,
long expiresInMillis,
long issuedClientTimeMillis)
public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic java.lang.String getTokenString()
public long getExpiresInMillis()
public long getIssuedClientTimeMillis()
public long getEstimatedExpirationTimeMillis()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object