Interface ILinkRequester.Callback
- Enclosing interface:
- ILinkRequester
Deprecated.
an internal callback for the HTTP response
-
Method Summary
Modifier and TypeMethodDescriptionvoidonError()Deprecated.Called when an error is occurred in the HTTP requestvoidDeprecated.Called when error related to the network occurred in the HTTP requestvoidonResponse(org.json.JSONObject jsonObject) Deprecated.Response with json format
-
Method Details
-
onResponse
void onResponse(@Nullable org.json.JSONObject jsonObject) Deprecated.Response with json format- Parameters:
jsonObject- The json response
-
onNetworkError
void onNetworkError()Deprecated.Called when error related to the network occurred in the HTTP request -
onError
void onError()Deprecated.Called when an error is occurred in the HTTP request
-