Package 

Interface SSAICallback


  • 
    public interface SSAICallback<T>
    
                        

    An SSAI callback used on asynchronous operations.

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(T result) Called when the operation has been successful.
      abstract void onError(Throwable error) Called when there has been an error in the operation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSuccess

         abstract void onSuccess(T result)

        Called when the operation has been successful.

        Parameters:
        result - the result
      • onError

         abstract void onError(Throwable error)

        Called when there has been an error in the operation.

        Parameters:
        error - the error