-
- 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 UploadAttachmentsNetworkTypeuploadAttachmentsNetworkTypeprivate final BooleanuseSequentialEventHandler
-
Constructor Summary
Constructors Constructor Description StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, UploadAttachmentsNetworkType uploadAttachmentsNetworkType, Boolean useSequentialEventHandler)StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, UploadAttachmentsNetworkType uploadAttachmentsNetworkType)StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence)StatePluginConfig(Boolean backgroundSyncEnabled)StatePluginConfig()
-
Method Summary
Modifier and Type Method Description final BooleangetBackgroundSyncEnabled()final BooleangetUserPresence()final UploadAttachmentsNetworkTypegetUploadAttachmentsNetworkType()final BooleangetUseSequentialEventHandler()-
-
Constructor Detail
-
StatePluginConfig
StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, UploadAttachmentsNetworkType uploadAttachmentsNetworkType, Boolean useSequentialEventHandler)
- Parameters:
backgroundSyncEnabled- Whether the SDK should perform background sync if some queries fail.userPresence- Whether the SDK should receive user presence changes.uploadAttachmentsNetworkType- An enumeration of various network types used as a constraint inside upload attachments worker.useSequentialEventHandler- Whether the SDK will use a new sequential event handling mechanism.
-
StatePluginConfig
StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, UploadAttachmentsNetworkType uploadAttachmentsNetworkType)
- Parameters:
backgroundSyncEnabled- Whether the SDK should perform background sync if some queries fail.userPresence- Whether the SDK should receive user presence changes.uploadAttachmentsNetworkType- An enumeration of various network types used as a constraint inside upload attachments worker.
-
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()
-
getUploadAttachmentsNetworkType
final UploadAttachmentsNetworkType getUploadAttachmentsNetworkType()
-
getUseSequentialEventHandler
final Boolean getUseSequentialEventHandler()
-
-
-
-