Interface ILinkRequester.Callback

Enclosing interface:
ILinkRequester

@Deprecated public static interface ILinkRequester.Callback
Deprecated.
an internal callback for the HTTP response
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Called when an error is occurred in the HTTP request
    void
    Deprecated.
    Called when error related to the network occurred in the HTTP request
    void
    onResponse(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