References
Libraries
The different states a task can be in
The task is paused
The task is started and running
The task is stopped
TaskState.PAUSED
TaskState.STARTED
TaskState.STOPPED