Constraints and Scheduling
Run work under the right conditions.
Constraints and Scheduling
A Worker defines what to do. A WorkRequest defines when and under what conditions it runs. You build a request, attach constraints, and enqueue it.
What Constraints Are
Constraints are conditions that must be true before your work runs, such as having a network connection or being on charge. WorkManager waits until they are satisfied.
All lessons in this course
- When to Use WorkManager
- Creating a Worker
- Constraints and Scheduling
- Periodic and Chained Work