Interface CountriesTaskCallback
-
public interface CountriesTaskCallbackCallback interface forCountriesTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCountriesFailed(AerisError error)This method will be called when an countries request to the API has failed.voidonCountriesLoaded(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.
-
-