# Package com.google.android.exoplayer2.scheduler

- Interface Summary
  Interface | Description
  --- | ---
  RequirementsWatcher.Listener | Notified when RequirementsWatcher instance first created and on changes whether the `Requirements` are met.
  Scheduler | Schedules a service to be started in the foreground when some `Requirements` are met.

- Class Summary
  Class | Description
  --- | ---
  PlatformScheduler | A `Scheduler` that uses `JobScheduler`.
  PlatformScheduler.PlatformSchedulerService | A `JobService` that starts the target service if the requirements are met.
  Requirements | Defines a set of device state requirements.
  RequirementsWatcher | Watches whether the `Requirements` are met and notifies the `RequirementsWatcher.Listener` on changes.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  Requirements.RequirementFlags | Requirement flags.