Interface AerisCallback
-
public interface AerisCallback
Callback interface for a request. If it is a custom endpoint, useCustomCallback
. Used in conjunction with theAerisCommunicationTask
, which handles threading for a request and then passed the response back to this callback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onResult(EndpointType endpoint, AerisResponse response)
Method that will be called after an task has finished executing.
-
-
-
Method Detail
-
onResult
void onResult(EndpointType endpoint, AerisResponse response)
Method that will be called after an task has finished executing. Network failures and other failures will still return an Aeris Response. *- Parameters:
endpoint
- TheEndpointType
that was called.response
- The response from the request.
-
-