Back to project page sampleaccountandserver.
The source code is released under:
Apache License
If you think the Android project sampleaccountandserver listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jiahaoliuliu.android.sampleaccountandserver.completionhandler; //w w w . j av a 2 s. c om import org.json.JSONObject; /** * This class is used to implement the error completion handler. */ public interface RequestJSONCallback { /** * Method called when the operation has been finished. * @param jsonObject The JSON object returned by the server * @param error Indication of if any error happened or not */ void done(final JSONObject jsonObject, final boolean error); }