Interface CountriesTaskCallback


  • public interface CountriesTaskCallback
    Callback interface for CountriesTask.
    • 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.