T - The type of the resultpublic interface FRListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onException(java.lang.Exception e)
Called when an asynchronous call fails to complete.
|
void |
onSuccess(T result)
Called when an asynchronous call completes successfully.
|
void onSuccess(T result)
result - the value returnedvoid onException(java.lang.Exception e)
e - the reason for failure