Interface MoonphasesTaskCallback


  • public interface MoonphasesTaskCallback
    Callback interface for MoonphasesTask.
    • Method Detail

      • onMoonphasesLoaded

        void onMoonphasesLoaded​(List<MoonphasesResponse> responses)
        This method will be called when a list of moon phases have been returned from the API.
        Parameters:
        responses - List of responses
      • onMoonphasesFailed

        void onMoonphasesFailed​(AerisError error)
        This method will be called when an moon phases request to the API has failed.
        Parameters:
        error - The aeris error regarding to the fail.