Interface StormReportsTaskCallback
-
public interface StormReportsTaskCallbackCallback interface forStormReportsTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonStormReportsFailed(AerisError error)This method will be called when an storm reports request to the API has failed.voidonStormReportsLoaded(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.
-
-