Interface RiversTaskCallback


  • public interface RiversTaskCallback
    Callback interface for RiversTask.
    • Method Detail

      • onRiversLoaded

        void onRiversLoaded​(List<RiversResponse> responses)
        This method will be called when a list of river data has been returned from the API.
        Parameters:
        responses - List of responses
      • onRiversFailed

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