Interface ForecastsTaskCallback


  • public interface ForecastsTaskCallback
    Callback interface for ForecastsTask.
    • Method Detail

      • onForecastsLoaded

        void onForecastsLoaded​(List<ForecastsResponse> responses)
        This method will be called when a list of forecasts have been returned from the API.
        Parameters:
        responses - List of responses
      • onForecastsFailed

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