public static class Task.TaskProgress
extends java.lang.Object
Objects that extend Task return the task progress structure to indicate to the ViewTaskActivity how far the task has progressed.
Note that the values in an Task.TaskProgress structure are used only for display; you
don't use the values to access the steps in a task.
| Constructor and Description |
|---|
TaskProgress(int current,
int total)
Constructor specifying current index and total number of steps in the task.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrent()
Gets the current step number in the task, zero-based.
|
int |
getTotal()
Gets the current total number of steps in the task.
|