StatePluginConfig

constructor(backgroundSyncEnabled: Boolean = true, userPresence: Boolean = true, syncMaxThreshold: TimeDuration = TimeDuration.hours(12))

Parameters

backgroundSyncEnabled

Whether the SDK should perform background sync if some queries fail.

userPresence

Whether the SDK should receive user presence changes.

syncMaxThreshold

The maximum time allowed for data to synchronize. If not synced within this limit, the SDK deletes it.