API Reference

com.kinvey.android.sync

Interface KinveySyncCallback



  • public KinveySyncCallback

    This class provides callbacks from requests executed by the Sync API.

    • Method Summary

      All Methods Instance Methods Default Methods 
      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) 
    • Method Detail

      • onSuccess

        void onSuccess(KinveyPushResponse kinveyPushResponse,
                       com.kinvey.java.model.KinveyPullResponse kinveyPullResponse)
      • onPullStarted

        void onPullStarted()

        Used to indicate start of pull request by background service

      • onPushStarted

        void onPushStarted()

        Used to indicate start of push request by background service

      • onPullSuccess

        void onPullSuccess(com.kinvey.java.model.KinveyPullResponse kinveyPullResponse)

        Used to indicate successful execution of pull request by background service

      • onPushSuccess

        void onPushSuccess(KinveyPushResponse kinveyPushResponse)

        Used to indicate successful execution of push request by background service

      • onFailure

        void onFailure(java.lang.Throwable t)

        Used to indicate the failed execution of a request by the background service.