Package com.kii.cloud.storage.callback
Class KiiACLCallBack
- java.lang.Object
-
- com.kii.cloud.storage.callback.KiiACLCallBack
-
public class KiiACLCallBack extends java.lang.Object
Notifies callback events of ACL operation.
-
-
Constructor Summary
Constructors Constructor Description KiiACLCallBack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onListACLEntriesCompleted(int token, java.util.Set<KiiACLEntry> list, KiiACL acl, java.lang.Exception exception)
Runs on the UI thread after theKiiACL.listACLEntries(KiiACLCallBack)
executed.void
onSaveCompleted(int token, KiiACL acl, java.lang.Exception exception)
Runs on the UI thread after theKiiACL.save()
been executed.void
onTaskCancel(int token)
Runs on the UI thread after the task has been canceled.void
onTaskStart(int token)
Runs on the UI thread before the task is executed.
-
-
-
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 theKiiACL.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 theKiiACL.listACLEntries(KiiACLCallBack)
executed.- Parameters:
token
- id of this task.list
- set of permissions this acl includes.acl
- required list permission.exception
- null when succeeded.
-
-