Get Object
Get a whole Object using a Query:
import com.parse.ParseObject;
import com.parse.ParseQuery;
import com.parse.GetCallback;
import com.parse.ParseException;
public void getObject()
{
ParseQuery<ParseObject> query = ParseQuery.getQuery("ClassName");
query.getInBackground("objectId", new GetCallback<ParseObject>()
{
public void done(ParseObject object, ParseException e)
{
if (e == null)
{
// your object will be returned here
}
else
{
// something went wrong, check the exception for more infos
}
}
});
}Get the values out of the Object:
Special values that have their own accessors:
Refresh an object that you already have in memory with the latest data:
Last updated
Was this helpful?