StatePluginConfig
data class StatePluginConfig @JvmOverloads constructor(val backgroundSyncEnabled: Boolean = true, val userPresence: Boolean = true, val syncMaxThreshold: TimeDuration = TimeDuration.hours(12))
Provides a configuration for io.getstream.chat.android.state.plugin.internal.StatePlugin.
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.
Constructors
Link copied to clipboard
constructor(backgroundSyncEnabled: Boolean = true, userPresence: Boolean = true, syncMaxThreshold: TimeDuration = TimeDuration.hours(12))