PeriodicWorkRequest

class PeriodicWorkRequest : WorkRequest
kotlin.Any
   ↳ androidx.work.WorkRequest
   ↳ androidx.work.PeriodicWorkRequest

A class that represents a request for repeating work.

Summary

Nested classes

Builder for PeriodicWorkRequest class.

Constants
static Long

The minimum flex duration for PeriodicWorkRequest, in milliseconds.

static Long

The minimum interval duration for PeriodicWorkRequest, in milliseconds.

Inherited constants
Inherited functions

Constants

MIN_PERIODIC_FLEX_MILLIS

static val MIN_PERIODIC_FLEX_MILLIS: Long

The minimum flex duration for PeriodicWorkRequest, in milliseconds. Based on {@see https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/app/job/JobInfo.java#113}.

Value: 300000L

MIN_PERIODIC_INTERVAL_MILLIS

static val MIN_PERIODIC_INTERVAL_MILLIS: Long

The minimum interval duration for PeriodicWorkRequest, in milliseconds. Based on {@see https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/app/job/JobInfo.java#110}.

Value: 900000L