Package com.kii.cloud.storage.callback
Class KiiQueryCallBack<T>
- java.lang.Object
-
- com.kii.cloud.storage.callback.KiiQueryCallBack<T>
-
public abstract class KiiQueryCallBack<T> extends java.lang.Object
Defines the call back interfaces forKiiObject
.
-
-
Constructor Summary
Constructors Constructor Description KiiQueryCallBack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onQueryCompleted(int token, KiiQueryResult<T> result, java.lang.Exception exception)
Runs on the UI thread after theKiiBucket#query(KiiQueryCallBack, String, com.kii.cloud.storage.query.KiiQuery)
has 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.
-
onTaskStart
public void onTaskStart(int token)
Runs on the UI thread before the task is executed.
-
onQueryCompleted
public void onQueryCompleted(int token, @Nullable KiiQueryResult<T> result, @Nullable java.lang.Exception exception)
Runs on the UI thread after theKiiBucket#query(KiiQueryCallBack, String, com.kii.cloud.storage.query.KiiQuery)
has been executed.- Parameters:
token
- id of this task.result
- Result of the query.exception
- null if succeeded.
-
-