Interface ForecastsTaskCallback
-
public interface ForecastsTaskCallback
Callback interface forForecastsTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onForecastsFailed(AerisError error)
This method will be called when an forecasts request to the API has failed.void
onForecastsLoaded(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.
-
-