Interface AlertsTaskCallback
-
public interface AlertsTaskCallback
Callback interface forAlertsTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAlertsFailed(AerisError error)
This method will be called when an advisories request to the API has failed.void
onAlertsLoaded(List<AlertsResponse> responses)
This method will be called when a list of advisories have been returned from the API.
-
-
-
Method Detail
-
onAlertsLoaded
void onAlertsLoaded(List<AlertsResponse> responses)
This method will be called when a list of advisories have been returned from the API.- Parameters:
responses
- List of responses
-
onAlertsFailed
void onAlertsFailed(AerisError error)
This method will be called when an advisories request to the API has failed.- Parameters:
error
- The aeris error regarding to the fail.
-
-