WorkInfo.PeriodicityInfo
class WorkInfo.PeriodicityInfo
A periodic work's interval and flex duration
Summary
Public constructors |
|---|
PeriodicityInfo(repeatIntervalMillis: Long, flexIntervalMillis: Long) |
Public properties |
|
|---|---|
Long |
The duration in millis in which this work repeats from the end of the |
Long |
The periodic work's configured repeat interval in millis, as configured in |
Public constructors
PeriodicityInfo
Added in 2.9.0
PeriodicityInfo(repeatIntervalMillis: Long, flexIntervalMillis: Long)
Public functions
Public properties
flexIntervalMillis
Added in 2.9.0
val flexIntervalMillis: Long
The duration in millis in which this work repeats from the end of the repeatInterval, as configured in PeriodicWorkRequest.Builder.
repeatIntervalMillis
Added in 2.9.0
val repeatIntervalMillis: Long
The periodic work's configured repeat interval in millis, as configured in PeriodicWorkRequest.Builder