|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KeenCallback
An interface to allow callers to receive a callback on success or failure of an operation by the keen client. This is most helpful for asynchronous calls (to detect completion of the operation), but can also be used to be notified of failures, which are normally caught silently by the client to prevent application crashes.
| Method Summary | |
|---|---|
void |
onFailure(java.lang.Exception e)
Invoked when the requested operation fails. |
void |
onSuccess()
Invoked when the requested operation succeeds. |
| Method Detail |
|---|
void onSuccess()
void onFailure(java.lang.Exception e)
e - An exception indicating the cause of the failure.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||