StateRegistry
Registry of all state objects exposed in the offline plugin. This class should have only one instance for the SDK.
Parameters
The state flow that provides the user once it is set.
Latest users of the SDK.
Latest live locations of the SDK.
A background job cancelled after calling clear.
A scope for new coroutines.
Configuration for message limits.
The current list of muted users.
Whether to use the legacy channel state implementation.
Constructors
Functions
Returns the ChannelState for the given channel.
Returns QueryChannelsState associated with the given identifier. Canonical lookup that works for both standard and predefined-filter queries. For predefined queries the resulting state starts with placeholder filter/sort that get replaced via applyResolvedSpec once the server response (or a previously persisted DB row) provides the resolved values.
Returns QueryChannelsState associated with particular filter and sort.
Returns ThreadState of thread replies with parent message that has id equal to messageId.