0Pricing
Android Academy · Lesson

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

  1. When to Use WorkManager
  2. Creating a Worker
  3. Constraints and Scheduling
  4. Periodic and Chained Work
← Back to Android Academy