-
public final class ConfigProvides a configuration for io.getstream.chat.android.offline.plugin.internal.OfflinePlugin.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanbackgroundSyncEnabledprivate final BooleanuserPresenceprivate final BooleanpersistenceEnabledprivate final UploadAttachmentsNetworkTypeuploadAttachmentsNetworkTypeprivate final BooleanuseSequentialEventHandler
-
Constructor Summary
Constructors Constructor Description Config(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean persistenceEnabled, UploadAttachmentsNetworkType uploadAttachmentsNetworkType, Boolean useSequentialEventHandler)Config(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean persistenceEnabled, UploadAttachmentsNetworkType uploadAttachmentsNetworkType)Config(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean persistenceEnabled)Config(Boolean backgroundSyncEnabled, Boolean userPresence)Config(Boolean backgroundSyncEnabled)Config()
-
Method Summary
Modifier and Type Method Description final BooleangetBackgroundSyncEnabled()final BooleangetUserPresence()final BooleangetPersistenceEnabled()final UploadAttachmentsNetworkTypegetUploadAttachmentsNetworkType()final BooleangetUseSequentialEventHandler()-
-
Constructor Detail
-
Config
Config(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean persistenceEnabled, 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.persistenceEnabled- Whether the data should be stored in the DB.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.
-
Config
Config(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean persistenceEnabled, UploadAttachmentsNetworkType uploadAttachmentsNetworkType)
- Parameters:
backgroundSyncEnabled- Whether the SDK should perform background sync if some queries fail.userPresence- Whether the SDK should receive user presence changes.persistenceEnabled- Whether the data should be stored in the DB.uploadAttachmentsNetworkType- An enumeration of various network types used as a constraint inside upload attachments worker.
-
Config
Config(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean persistenceEnabled)
- Parameters:
backgroundSyncEnabled- Whether the SDK should perform background sync if some queries fail.userPresence- Whether the SDK should receive user presence changes.persistenceEnabled- Whether the data should be stored in the DB.
-
Config
Config(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.
-
Config
Config(Boolean backgroundSyncEnabled)
- Parameters:
backgroundSyncEnabled- Whether the SDK should perform background sync if some queries fail.
-
Config
Config()
-
-
Method Detail
-
getBackgroundSyncEnabled
final Boolean getBackgroundSyncEnabled()
-
getUserPresence
final Boolean getUserPresence()
-
getPersistenceEnabled
final Boolean getPersistenceEnabled()
-
getUploadAttachmentsNetworkType
final UploadAttachmentsNetworkType getUploadAttachmentsNetworkType()
-
getUseSequentialEventHandler
final Boolean getUseSequentialEventHandler()
-
-
-
-