Interface AdvisoriesTaskCallback


  • public interface AdvisoriesTaskCallback
    Callback interface for AdvisoriesTask.
    • Method Detail

      • onAdvisoriesLoaded

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

        void onAdvisoriesFailed​(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.