Interface StormReportsTaskCallback
-
public interface StormReportsTaskCallback
Callback interface forStormReportsTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onStormReportsFailed(AerisError error)
This method will be called when an storm reports request to the API has failed.void
onStormReportsLoaded(List<StormReportsResponse> responses)
This method will be called when a list of storm reports have been returned from the API.
-
-
-
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.
-
-