SSAICallback

interface SSAICallback<T>

An SSAI callback used on asynchronous operations.

Functions

Link copied to clipboard
abstract fun onError(error: Throwable)
Called when there has been an error in the operation.
Link copied to clipboard
abstract fun onSuccess(result: T)
Called when the operation has been successful.