public KinveySyncCallback
This class provides callbacks from requests executed by the Sync API.
Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Throwable t)
Used to indicate the failed execution of a request by the background service.
|
void |
onPullStarted()
Used to indicate start of pull request by background service
|
void |
onPullSuccess(com.kinvey.java.model.KinveyPullResponse kinveyPullResponse)
Used to indicate successful execution of pull request by background service
|
void |
onPushStarted()
Used to indicate start of push request by background service
|
void |
onPushSuccess(KinveyPushResponse kinveyPushResponse)
Used to indicate successful execution of push request by background service
|
void |
onSuccess(KinveyPushResponse kinveyPushResponse,
com.kinvey.java.model.KinveyPullResponse kinveyPullResponse) |
void onSuccess(KinveyPushResponse kinveyPushResponse, com.kinvey.java.model.KinveyPullResponse kinveyPullResponse)
void onPullStarted()
Used to indicate start of pull request by background service
void onPushStarted()
Used to indicate start of push request by background service
void onPullSuccess(com.kinvey.java.model.KinveyPullResponse kinveyPullResponse)
Used to indicate successful execution of pull request by background service
void onPushSuccess(KinveyPushResponse kinveyPushResponse)
Used to indicate successful execution of push request by background service
void onFailure(java.lang.Throwable t)
Used to indicate the failed execution of a request by the background service.