WorkManager constraints can require that work runs only when:

  1. The device has a network connection or is charging
  2. The app is in landscape
  3. The screen is rotated
  4. A Toast is shown
Answer

A) The device has a network connection or is charging

Constraints include network type, charging, battery not low, storage not low.

Computer Science MCQ · More Threading and Publishing Android Applications MCQs · Practise