lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

PeriodicWorkRequest

public final class PeriodicWorkRequest
extends WorkRequest

java.lang.Object
   ↳ androidx.work.WorkRequest
     ↳ androidx.work.PeriodicWorkRequest


A class that represents a request for repeating work.

Summary

Nested classes

class PeriodicWorkRequest.Builder

Builder for PeriodicWorkRequest class. 

Constants

long MIN_PERIODIC_FLEX_MILLIS

The minimum flex duration for PeriodicWorkRequest (in milliseconds).

long MIN_PERIODIC_INTERVAL_MILLIS

The minimum interval duration for PeriodicWorkRequest (in milliseconds).

Inherited constants

Inherited methods

Constants

MIN_PERIODIC_FLEX_MILLIS

public static final long MIN_PERIODIC_FLEX_MILLIS

The minimum flex duration for PeriodicWorkRequest (in milliseconds).

Constant Value: 300000 (0x00000000000493e0)

MIN_PERIODIC_INTERVAL_MILLIS

public static final long MIN_PERIODIC_INTERVAL_MILLIS

The minimum interval duration for PeriodicWorkRequest (in milliseconds).

Constant Value: 900000 (0x00000000000dbba0)