0 votes
in Android by
What is JobScheduler?

1 Answer

0 votes
by

The JobSchedular API is used for scheduling different types of jobs against the framework that will be executed in your app’s own process. This allows your application to perform the given task while being considerate of the device’s battery at the cost of timing control.

The JobScheduler supports batch scheduling of jobs. The Android system can combine jobs for reducing battery consumption. JobManager automatically handles the network unreliability so it makes handling uploads easier.

Here is some example of a situation where you would use this job scheduler:

  • Tasks that should be done when the device is connected to a power supply.
  • Tasks that require a Wi-Fi connection or network access.
  • Tasks should run on a regular basis as a batch where the timing is not critical.
...