WorkInfo.PeriodicityInfo


class WorkInfo.PeriodicityInfo


A periodic work's interval and flex duration

Summary

Public constructors

PeriodicityInfo(repeatIntervalMillis: Long, flexIntervalMillis: Long)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Long

The duration in millis in which this work repeats from the end of the repeatInterval, as configured in PeriodicWorkRequest.Builder.

Long

The periodic work's configured repeat interval in millis, as configured in PeriodicWorkRequest.Builder

Public constructors

PeriodicityInfo

Added in 2.9.0
PeriodicityInfo(repeatIntervalMillis: Long, flexIntervalMillis: Long)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

flexIntervalMillis

Added in 2.9.0
val flexIntervalMillisLong

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 repeatIntervalMillisLong

The periodic work's configured repeat interval in millis, as configured in PeriodicWorkRequest.Builder