Interface AlertsTaskCallback
-
public interface AlertsTaskCallbackCallback interface forAlertsTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAlertsFailed(AerisError error)This method will be called when an advisories request to the API has failed.voidonAlertsLoaded(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.
-
-