Package 

Class Config

  • All Implemented Interfaces:

    
    public final class Config
    
                        

    Provides a configuration for io.getstream.chat.android.offline.plugin.internal.OfflinePlugin.

    • 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()