Interface ForecastsTaskCallback
-
public interface ForecastsTaskCallbackCallback interface forForecastsTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonForecastsFailed(AerisError error)This method will be called when an forecasts request to the API has failed.voidonForecastsLoaded(List<ForecastsResponse> responses)This method will be called when a list of forecasts have been returned from the API.
-
-
-
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.
-
-