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