@ParseClassName(value="_Installation") public class ParseInstallation extends ParseObject
ParseInstallation is a local representation of installation data that can be saved
and retrieved from the Parse cloud.CREATOR, DEFAULT_PIN| Constructor and Description |
|---|
ParseInstallation() |
| Modifier and Type | Method and Description |
|---|---|
static ParseInstallation |
getCurrentInstallation() |
java.lang.String |
getDeviceToken() |
java.lang.String |
getInstallationId()
Returns the unique ID of this installation.
|
java.lang.String |
getPushType() |
static ParseQuery<ParseInstallation> |
getQuery()
Constructs a query for
ParseInstallation. |
void |
setDeviceToken(java.lang.String deviceToken) |
void |
setObjectId(java.lang.String newObjectId)
Setter for the object id.
|
void |
setPushType(java.lang.String pushType) |
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, unpin, unpin, unpinAll, unpinAll, unpinAll, unpinAll, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinAllInBackground, unpinInBackground, unpinInBackground, unpinInBackground, unpinInBackground, writeToParcelpublic static ParseInstallation getCurrentInstallation()
public static ParseQuery<ParseInstallation> getQuery()
ParseInstallation.
Note: We only allow the following types of queries for installations:
query.get(objectId)
query.whereEqualTo("installationId", value)
query.whereMatchesKeyInQuery("installationId", keyInQuery, query)
You can add additional query clauses, but one of the above must appear as a top-level
AND clause in the query.ParseQuery.getQuery(Class)public java.lang.String getInstallationId()
public void setObjectId(java.lang.String newObjectId)
ParseObjectParseObject yourself and wish
to recreate it, you can use this to recreate the ParseObject exactly.setObjectId in class ParseObjectpublic java.lang.String getPushType()
public void setPushType(java.lang.String pushType)
public java.lang.String getDeviceToken()
public void setDeviceToken(java.lang.String deviceToken)