@ParseClassName(value="_Session") public class ParseSession extends ParseObject
ParseSession is a local representation of session data that can be saved
and retrieved from the Parse cloud.CREATOR, DEFAULT_PIN| Constructor and Description |
|---|
ParseSession() |
| Modifier and Type | Method and Description |
|---|---|
static <any> |
getCurrentSessionInBackground()
Get the current
ParseSession object related to the current user. |
static void |
getCurrentSessionInBackground(GetCallback<ParseSession> callback)
Get the current
ParseSession object related to the current user. |
static ParseQuery<ParseSession> |
getQuery()
Constructs a query for
ParseSession. |
java.lang.String |
getSessionToken() |
add, addAll, addAllUnique, addUnique, containsKey, create, create, createWithoutData, createWithoutData, delete, deleteAll, deleteAllInBackground, deleteAllInBackground, deleteEventually, deleteEventually, deleteInBackground, deleteInBackground, describeContents, fetch, fetchAll, fetchAllIfNeeded, fetchAllIfNeededInBackground, fetchAllIfNeededInBackground, fetchAllInBackground, fetchAllInBackground, fetchFromLocalDatastore, fetchFromLocalDatastoreInBackground, fetchIfNeeded, fetchIfNeededInBackground, fetchIfNeededInBackground, fetchInBackground, fetchInBackground, fromJSON, fromJSON, get, getACL, getBoolean, getBytes, getClassName, getCreatedAt, getDate, getDouble, getInt, getJSONArray, getJSONObject, getList, getLong, getMap, getNumber, getObjectId, getParseFile, getParseGeoPoint, getParseObject, getParsePolygon, getParseUser, getRelation, getString, getUpdatedAt, has, hasSameId, increment, increment, isDataAvailable, isDataAvailable, isDirty, isDirty, keySet, onRestoreInstanceState, onSaveInstanceState, pin, pin, pinAll, pinAll, pinAllInBackground, pinAllInBackground, pinAllInBackground, pinAllInBackground, pinInBackground, pinInBackground, pinInBackground, pinInBackground, put, registerSubclass, remove, removeAll, revert, revert, save, saveAll, saveAllInBackground, saveAllInBackground, saveEventually, saveEventually, saveInBackground, saveInBackground, setACL, setObjectId, unpin, unpin, unpinAll, unpinAll, unpinAll, unpinAll, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinInBackground, unpinInBackground, unpinInBackground, unpinInBackground, writeToParcelpublic static <any> getCurrentSessionInBackground()
ParseSession object related to the current user.ParseSession object or null if not valid or
logged in.public static void getCurrentSessionInBackground(GetCallback<ParseSession> callback)
ParseSession object related to the current user.callback - A callback that returns a ParseSession object or null if not
valid or logged in.public static ParseQuery<ParseSession> getQuery()
ParseSession.ParseQuery.getQuery(Class)public java.lang.String getSessionToken()