Class KiiBucketCallBack<T>

  • All Implemented Interfaces:

    public abstract class KiiBucketCallBack<T>
    extends java.lang.Object
    implements CountCallBack
    • Constructor Detail

      • KiiBucketCallBack

        public KiiBucketCallBack()
    • Method Detail

      • onTaskCancel

        public void onTaskCancel​(int token)
        Runs on the UI thread after the task has been canceled.
      • onTaskStart

        public void onTaskStart​(int token)
        Runs on the UI thread before the task is executed.
      • onDeleteCompleted

        public void onDeleteCompleted​(int token,
                                      java.lang.Exception exception)
        Runs on the UI thread after the KiiBucket.delete(KiiBucketCallBack) has been executed.
        token - id of this task.
        exception - null if succeeded.
      • onCountCompleted

        public void onCountCompleted​(@NonNull
                                     KiiBucket bucket,
                                     KiiQuery query,
                                     int count,
                                     java.lang.Exception exception)
        Description copied from interface: CountCallBack
        Runs on the UI thread after KiiBucket.count(CountCallBack) has been executed.
        Specified by:
        onCountCompleted in interface CountCallBack
        bucket - on which the query has executed.
        query - executed query.
        count - number of objects matched the specified query.
        exception - null if succeeded.