Interface StormReportsTaskCallback


  • public interface StormReportsTaskCallback
    Callback interface for StormReportsTask.
    • Method Detail

      • onStormReportsLoaded

        void onStormReportsLoaded​(List<StormReportsResponse> responses)
        This method will be called when a list of storm reports have been returned from the API.
        Parameters:
        responses - List of responses
      • onStormReportsFailed

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