Interface AerisCallback


  • public interface AerisCallback
    Callback interface for a request. If it is a custom endpoint, use CustomCallback. Used in conjunction with the AerisCommunicationTask, which handles threading for a request and then passed the response back to this callback.
    • 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 - The EndpointType that was called.
        response - The response from the request.