Class StatePluginConfig
-
- All Implemented Interfaces:
public final class StatePluginConfigProvides a configuration for io.getstream.chat.android.state.plugin.internal.StatePlugin.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanbackgroundSyncEnabledprivate final BooleanuserPresenceprivate final TimeDurationsyncMaxThreshold
-
Constructor Summary
Constructors Constructor Description StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, TimeDuration syncMaxThreshold)StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence)StatePluginConfig(Boolean backgroundSyncEnabled)StatePluginConfig()
-
Method Summary
Modifier and Type Method Description final BooleangetBackgroundSyncEnabled()final BooleangetUserPresence()final TimeDurationgetSyncMaxThreshold()-
-
Constructor Detail
-
StatePluginConfig
StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, TimeDuration syncMaxThreshold)
- 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.
-
StatePluginConfig
StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence)
- Parameters:
backgroundSyncEnabled- Whether the SDK should perform background sync if some queries fail.userPresence- Whether the SDK should receive user presence changes.
-
StatePluginConfig
StatePluginConfig(Boolean backgroundSyncEnabled)
- Parameters:
backgroundSyncEnabled- Whether the SDK should perform background sync if some queries fail.
-
StatePluginConfig
StatePluginConfig()
-
-
Method Detail
-
getBackgroundSyncEnabled
final Boolean getBackgroundSyncEnabled()
-
getUserPresence
final Boolean getUserPresence()
-
getSyncMaxThreshold
final TimeDuration getSyncMaxThreshold()
-
-
-
-