API Reference

com.kinvey.android.sync

Interface KinveyPushCallback



  • public KinveyPushCallback

    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 error)
      Used to indicate the failed execution of a request by the background service.
      void onProgress(long current, long all) 
      void onSuccess(KinveyPushResponse result)
      Used to indicate successful execution of a request by the background service.
    • Method Detail

      • onSuccess

        void onSuccess(KinveyPushResponse result)

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

      • onFailure

        void onFailure(java.lang.Throwable error)

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

      • onProgress

        void onProgress(long current,
                        long all)