/** * If this AVObject has not been fetched (i.e. AVObject.isDataAvailable() returns false), fetches * this object with the data from the server in a background thread. This is preferable to using * AVObject.fetchIfNeeded(), unless your code is already running from a background thread. * * @param callback callback.done(object, e) is called when the fetch completes. */ public void fetchIfNeededInBackground(GetCallback<AVObject> callback) { this.fetchIfNeededInBackground(null, callback); }
/** * If this AVObject has not been fetched (i.e. AVObject.isDataAvailable() returns false), fetches * this object with the data from the server in a background thread. This is preferable to using * AVObject.fetchIfNeeded(), unless your code is already running from a background thread. * * @param callback callback.done(object, e) is called when the fetch completes. */ public void fetchIfNeededInBackground(GetCallback<AVObject> callback) { this.fetchIfNeededInBackground(null, callback); }