|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The data type of the operationpublic interface Callback<T>
A handler for consuming the data/result of an operation.
| Method Summary | |
|---|---|
void |
onFailure(Exception e)
Invoked when an operation has failed. |
void |
onSuccess(T data)
Called when operation completes with success. |
| Method Detail |
|---|
void onSuccess(T data)
data - The received data of the operation.void onFailure(Exception e)
e - The exception to give more insights on why the operation has failed.
|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||