Periodic Sync Configuration
class PeriodicSyncConfiguration(val syncConstraints: Constraints = Constraints.Builder().build(), val repeat: RepeatInterval, val retryConfiguration: RetryConfiguration? = defaultRetryConfiguration)
Configuration for period synchronisation
Constructors
Link copied to clipboard
constructor(syncConstraints: Constraints = Constraints.Builder().build(), repeat: RepeatInterval, retryConfiguration: RetryConfiguration? = defaultRetryConfiguration)
Properties
Link copied to clipboard
The interval at which the sync should be triggered in. It must be greater than or equal to androidx.work.PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS
Link copied to clipboard
Configuration for synchronization retry
Link copied to clipboard
Constraints that specify the requirements needed before the synchronisation is triggered. E.g. network type (WiFi, 3G etc), the device should be charging etc.