public interface SingleCallback<T>
SingleCallback abstract class represents an asynchronous callback returning a single
value.| Modifier and Type | Method and Description |
|---|---|
void |
onError(UsherException e)
Callback for when the request encounters an error.
|
void |
onSuccess(T t)
Callback for when the request is successfully executed.
|
void onSuccess(T t)
onError(com.microstrategy.ushersdk.UsherException).t - the expected item returned by the requestvoid onError(UsherException e)
onSuccess(Object).e - See UsherException