接口 ProgressiveTaskListener
- 所有已知子接口:
NodeScanListener
public interface ProgressiveTaskListener
ProgressiveTaskListener interface.
-
方法概要
修饰符和类型方法说明voidprogressUpdate(float progress) Optionally called occasionally by the task to declare the progress that has been made.voidNotification that the task has been cancelled.voidNotification that the task has been completed.
-
方法详细资料
-
progressUpdate
void progressUpdate(float progress) Optionally called occasionally by the task to declare the progress that has been made.- 参数:
progress- float between 0 and 1 where 0 is no progress and 1 is completed.
-
taskCancelled
void taskCancelled()Notification that the task has been cancelled. Should only be called once for the task. -
taskCompleted
void taskCompleted()Notification that the task has been completed. Should only be called once for the task.
-