Interface SunmoonTaskCallback


  • public interface SunmoonTaskCallback
    Callback interface for SunmoonTask.
    • Method Detail

      • onSunmoonLoaded

        void onSunmoonLoaded​(List<SunmoonResponse> responses)
        This method will be called when a list of sunmoon response have been returned from the API.
        Parameters:
        responses - List of responses
      • onSunmoonFailed

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