Interface AlertsTaskCallback


  • public interface AlertsTaskCallback
    Callback interface for AlertsTask.
    • Method Detail

      • onAlertsLoaded

        void onAlertsLoaded​(List<AlertsResponse> responses)
        This method will be called when a list of advisories have been returned from the API.
        Parameters:
        responses - List of responses
      • onAlertsFailed

        void onAlertsFailed​(AerisError error)
        This method will be called when an advisories request to the API has failed.
        Parameters:
        error - The aeris error regarding to the fail.