Interface KiiObjectBodyCallback

    • Method Detail

      • onTransferStart

        void onTransferStart​(@NonNull
                             KiiObject object)
        Executed on the UI thread when transfer is started.
        Parameters:
        object - KiiObject instance which has invoked transfer operation.
      • onTransferCompleted

        void onTransferCompleted​(@NonNull
                                 KiiObject object,
                                 @Nullable
                                 java.lang.Exception exception)
        Executed on the UI thread when the transfer has completed.
        Parameters:
        object - KiiObject instance which has invoked transfer operation.
        exception - null if completed otherwise failed.
      • onTransferProgress

        void onTransferProgress​(@NonNull
                                KiiObject object,
                                long completedInBytes,
                                long totalSizeinBytes)
        Executed on the UI thread when transfer progress has updated.
        Parameters:
        object - KiiObject instance which has invoked transfer operation.
        completedInBytes - Completed size of transfer in bytes.
        totalSizeinBytes - Total size of transfer in bytes.