Periodic Job Request
A job that repeats until it is cancelled or fails.
The job runs at most once per repeatInterval and becomes eligible flexInterval before the end of each interval. Neither platform guarantees an exact moment: Android batches periodic work with other system wake-ups, and iOS runs it opportunistically through BGTaskScheduler.
Types
Properties
Delay applied to the first retry.
backoffDelay in milliseconds, for callers without kotlin.time.Duration.
How the retry delay grows between attempts.
Device conditions required before the job may run.
Window at the end of each period in which the job may run.
flexInterval in milliseconds, for callers without kotlin.time.Duration.
Delay before the first run.
initialDelay in milliseconds, for callers without kotlin.time.Duration.
How many times the job may be started before it is given up on.
Length of one period.
repeatInterval in milliseconds, for callers without kotlin.time.Duration.