T - The type of the result object.public static interface PendingResult.Callback<T>
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
onFailure(java.lang.Throwable e) | 
 Called when there was an error performing the request. 
 | 
void | 
onResult(T result) | 
 Called when the request was successfully completed. 
 | 
void onResult(T result)
result - The result of the call.void onFailure(java.lang.Throwable e)
e - The exception describing the failure.