DataSyncConfig
class DataSyncConfig(isPeriodicSyncEnabled: Boolean, periodicSyncInterval: Long, isBackgroundSyncEnabled: Boolean)
Content copied to clipboard
Data Sync configuration
Author
Umang Chamaria
Since
11.0.00
Parameters
isPeriodicSyncEnabled
If true SDK will sync tracked data periodically when the application is in foreground, default value true.
periodicSyncInterval
Time interval after which the SDK should sync data in the foreground. Set the value to -1 if you want to continue using the default value.
Unit - Seconds
isBackgroundSyncEnabled
If true, SDK will periodically attempt to sync data to the Server even when the application is in the background, default value true.
Constructors
DataSyncConfig
Link copied to clipboard
DataSyncConfig
Link copied to clipboard
fun DataSyncConfig(isPeriodicSyncEnabled: Boolean, isBackgroundSyncEnabled: Boolean)
Content copied to clipboard
DataSyncConfig
Link copied to clipboard
fun DataSyncConfig(isPeriodicSyncEnabled: Boolean, periodicSyncInterval: Long, isBackgroundSyncEnabled: Boolean)
Content copied to clipboard
Functions
Properties
isBackgroundSyncEnabled
Link copied to clipboard
isPeriodicSyncEnabled
Link copied to clipboard
periodicSyncInterval
Link copied to clipboard