Interface CustomCallback


  • public interface CustomCallback
    Callback interface for a custom endpoint. If it is not a custom endpoint, use AerisCallback. 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​(String custom,
                      String response)
        Method that will be called after an task has finished executing. Network failures and other failures will still return as a raw String
        Parameters:
        custom - The custom endpoint that was called.
        response - String