Interface SSAICallback<T>


  • public interface SSAICallback<T>
    An SSAI callback used on asynchronous operations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onError​(java.lang.Throwable error)
      Called when there has been an error in the operation.
      void onSuccess​(T result)
      Called when the operation has been successful.
    • Method Detail

      • onSuccess

        void onSuccess​(T result)
        Called when the operation has been successful.
        Parameters:
        result - the result
      • onError

        void onError​(java.lang.Throwable error)
        Called when there has been an error in the operation.
        Parameters:
        error - the error