public static interface PendingResult.ResultCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(ErrorResponse errorResponse)
Called when the API call was failed.
|
void |
onSuccess(T result)
Called when the API call was successful.
|
void onSuccess(T result)
result - API response object.void onFailure(ErrorResponse errorResponse)
errorResponse - Formatted error responses from the API call.