public static interface AsyncService.TransactionCallback
Modifier and Type | Method and Description |
---|---|
void |
onTransactionError(int code,
java.lang.String message,
java.lang.Exception e) |
void |
onTransactionOK(JSONObject object) |
void onTransactionOK(JSONObject object)
object
- any resource object returned by the transactionvoid onTransactionError(int code, java.lang.String message, java.lang.Exception e)
code
- HTTP response codemessage
- error messagee
- any Exception thrown