PeriodicSyncConfiguration

class PeriodicSyncConfiguration(syncConstraints: Constraints, repeat: RepeatInterval, retryConfiguration: RetryConfiguration?)

Configuration for period synchronisation

Constructors

PeriodicSyncConfiguration
Link copied to clipboard
fun PeriodicSyncConfiguration(syncConstraints: Constraints = Constraints.Builder().build(), repeat: RepeatInterval, retryConfiguration: RetryConfiguration? = defaultRetryConfiguration)

Properties

repeat
Link copied to clipboard
val repeat: RepeatInterval
The interval at which the sync should be triggered in.
retryConfiguration
Link copied to clipboard
val retryConfiguration: RetryConfiguration?
Configuration for synchronization retry
syncConstraints
Link copied to clipboard
val syncConstraints: Constraints
Constraints that specify the requirements needed before the synchronisation is triggered.

Sources

androidJvm source
Link copied to clipboard