Interface AdvisoriesTaskCallback
-
public interface AdvisoriesTaskCallback
Callback interface forAdvisoriesTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAdvisoriesFailed(AerisError error)
This method will be called when an advisories request to the API has failed.void
onAdvisoriesLoaded(List<AdvisoriesResponse> responses)
This method will be called when a list of advisories have been returned from the API.
-
-
-
Method Detail
-
onAdvisoriesLoaded
void onAdvisoriesLoaded(List<AdvisoriesResponse> responses)
This method will be called when a list of advisories have been returned from the API.- Parameters:
responses
- List of responses
-
onAdvisoriesFailed
void onAdvisoriesFailed(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.
-
-