Interface RiversGaugesTaskCallback


  • public interface RiversGaugesTaskCallback
    Callback interface for RiversGaugesTask.
    • Method Detail

      • onRiversLoaded

        void onRiversLoaded​(List<RiversGaugesResponse> responses)
        This method will be called when a list of rivers gauges 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.