Package 

Class StatePluginConfig

    • Constructor Detail

      • StatePluginConfig

        StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean isAutomaticSyncOnReconnectEnabled, TimeDuration syncMaxThreshold, Function0<Long> now, MessageLimitConfig messageLimitConfig)
        Parameters:
        backgroundSyncEnabled - Controls whether the SDK performs background synchronization when push notifications are received.
        userPresence - Controls whether the SDK subscribes to and processes user presence events (online/offline status, last active time).
        isAutomaticSyncOnReconnectEnabled - Specifies if local data is updated with subscribing to web-socket events after reconnection.
        syncMaxThreshold - The maximum age threshold for pending local operations (channels, messages, reactions) before they are considered too old to retry and are discarded.
        now - A function that provides the current time in milliseconds since epoch (Unix timestamp).
        messageLimitConfig - Configuration that controls the maximum number of messages kept in memory for different channel types.
      • StatePluginConfig

        StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean isAutomaticSyncOnReconnectEnabled, TimeDuration syncMaxThreshold, Function0<Long> now)
        Parameters:
        backgroundSyncEnabled - Controls whether the SDK performs background synchronization when push notifications are received.
        userPresence - Controls whether the SDK subscribes to and processes user presence events (online/offline status, last active time).
        isAutomaticSyncOnReconnectEnabled - Specifies if local data is updated with subscribing to web-socket events after reconnection.
        syncMaxThreshold - The maximum age threshold for pending local operations (channels, messages, reactions) before they are considered too old to retry and are discarded.
        now - A function that provides the current time in milliseconds since epoch (Unix timestamp).
      • StatePluginConfig

        StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean isAutomaticSyncOnReconnectEnabled, TimeDuration syncMaxThreshold)
        Parameters:
        backgroundSyncEnabled - Controls whether the SDK performs background synchronization when push notifications are received.
        userPresence - Controls whether the SDK subscribes to and processes user presence events (online/offline status, last active time).
        isAutomaticSyncOnReconnectEnabled - Specifies if local data is updated with subscribing to web-socket events after reconnection.
        syncMaxThreshold - The maximum age threshold for pending local operations (channels, messages, reactions) before they are considered too old to retry and are discarded.
      • StatePluginConfig

        StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence, Boolean isAutomaticSyncOnReconnectEnabled)
        Parameters:
        backgroundSyncEnabled - Controls whether the SDK performs background synchronization when push notifications are received.
        userPresence - Controls whether the SDK subscribes to and processes user presence events (online/offline status, last active time).
        isAutomaticSyncOnReconnectEnabled - Specifies if local data is updated with subscribing to web-socket events after reconnection.
      • StatePluginConfig

        StatePluginConfig(Boolean backgroundSyncEnabled, Boolean userPresence)
        Parameters:
        backgroundSyncEnabled - Controls whether the SDK performs background synchronization when push notifications are received.
        userPresence - Controls whether the SDK subscribes to and processes user presence events (online/offline status, last active time).
      • StatePluginConfig

        StatePluginConfig(Boolean backgroundSyncEnabled)
        Parameters:
        backgroundSyncEnabled - Controls whether the SDK performs background synchronization when push notifications are received.
      • StatePluginConfig

        StatePluginConfig()