public interface ProgressiveTaskListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
progressUpdate(float progress)
Optionally called occasionally by the task to declare the progress that has been made.
|
void |
taskCancelled()
Notification that the task has been cancelled.
|
void |
taskCompleted()
Notification that the task has been completed.
|
void progressUpdate(float progress)
progress - float between 0 and 1 where 0 is no progress and 1 is completed.void taskCancelled()
void taskCompleted()
Copyright © 2018. All rights reserved.