Interface FRListener<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onException​(java.lang.Exception e)
      Called when an asynchronous call fails to complete.
      void onSuccess​(T result)
      Called when an asynchronous call completes successfully.
    • Method Detail

      • onSuccess

        void onSuccess​(T result)
        Called when an asynchronous call completes successfully.
        Parameters:
        result - the value returned
      • onException

        void onException​(java.lang.Exception e)
        Called when an asynchronous call fails to complete.
        Parameters:
        e - the reason for failure