Configuration.Provider

interface Configuration.Provider


A class that can provide the Configuration for WorkManager and allow for on-demand initialization of WorkManager. To do this:

Note that on-demand initialization may delay some useful features of WorkManager such as automatic rescheduling of work following a crash and recovery from the application being force-stopped by the user or device.

See also
initialize

Summary

Public properties

Configuration

The Configuration used to initialize WorkManager

Public properties

workManagerConfiguration

Added in 2.1.0
val workManagerConfigurationConfiguration

The Configuration used to initialize WorkManager