Interface SSAICallback<T>


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

    Modifier and Type
    Method
    Description
    void
    Called when there has been an error in the operation.
    void
    onSuccess(T result)
    Called when the operation has been successful.
  • Method Details

    • onSuccess

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

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