A periodic task is one that will recur at the specified interval, without needing to be
rescheduled. Schedule a task that will recur until the user calls one of
cancelAllTasks(Class), or
cancelTask(String, Class) with an identifying tag.
Periodic tasks will not be scheduled if their period is below a certain minimum (currently 30 seconds).
| class | PeriodicTask.Builder | Builder class for constructing PeriodicTask
objects. |
|
| public static final Creator<PeriodicTask> | CREATOR | |
| protected long | mFlexInSeconds | |
| protected long | mIntervalInSeconds |
| long |
getFlex()
|
| long | |
| void | |
| String |
toString()
|
| void |
writeToParcel(Parcel parcel, int
flags)
|
getPeriod()
that this periodic task can be executed early.Insert the task object into the provided bundle for IPC. Use #fromBundle to recreate the object on the other side.