|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcom.parse.ParseObject
com.parse.ParseInstallation
public class ParseInstallation
Method Summary | |
---|---|
static ParseInstallation |
getCurrentInstallation()
|
String |
getInstallationId()
Returns the unique ID of this installation. |
static ParseQuery<ParseInstallation> |
getQuery()
Constructs a query for ParseInstallations. |
void |
put(String key,
Object value)
Add a key-value pair to this object. |
void |
remove(String key)
Removes a key from this object's data if it exists. |
void |
saveEventually(SaveCallback callback)
Saves this object to the server at some unspecified time in the future, even if Parse is currently inaccessible. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ParseInstallation getCurrentInstallation()
public static ParseQuery<ParseInstallation> getQuery()
public String getInstallationId()
public void put(String key, Object value) throws IllegalArgumentException
ParseObject
put
in class ParseObject
key
- Keys must be alphanumerical plus underscore, and start with a letter.value
- Values may be numerical, String, JSONObject, JSONArray, JSONObject.NULL, or other
ParseObjects. value may not be null
.
IllegalArgumentException
public void remove(String key)
ParseObject
remove
in class ParseObject
key
- The key to remove.public void saveEventually(SaveCallback callback)
ParseObject
saveEventually
in class ParseObject
callback
- - A callback which will be called if the save completes before the app exits.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |