Class KiiACLCallBack


  • public class KiiACLCallBack
    extends java.lang.Object
    Notifies callback events of ACL operation.
    • Constructor Detail

      • KiiACLCallBack

        public KiiACLCallBack()
    • Method Detail

      • onTaskCancel

        public void onTaskCancel​(int token)
        Runs on the UI thread after the task has been canceled.
        Parameters:
        token - id of this task.
      • onTaskStart

        public void onTaskStart​(int token)
        Runs on the UI thread before the task is executed.
        Parameters:
        token - id of this task.
      • onSaveCompleted

        public void onSaveCompleted​(int token,
                                    @NonNull
                                    KiiACL acl,
                                    @Nullable
                                    java.lang.Exception exception)
        Runs on the UI thread after the KiiACL.save() been executed.
        Parameters:
        token - id of this task.
        acl - ACL save has executed.
        exception - null if succeeded.
      • onListACLEntriesCompleted

        public void onListACLEntriesCompleted​(int token,
                                              @Nullable
                                              java.util.Set<KiiACLEntry> list,
                                              @NonNull
                                              KiiACL acl,
                                              @Nullable
                                              java.lang.Exception exception)
        Runs on the UI thread after the KiiACL.listACLEntries(KiiACLCallBack) executed.
        Parameters:
        token - id of this task.
        list - set of permissions this acl includes.
        acl - required list permission.
        exception - null when succeeded.