BaseMessageCollection

Collection that handles message lists, also supporting local caching.

Since

3.1.0

Inheritors

Properties

Link copied to clipboard

Indicates the lifecycle of the collection.

Link copied to clipboard

A new Comparator for sorting succeeded BaseMessage using the MessageListParams.reverse set in this collection.

Link copied to clipboard

The failed message lists.

Link copied to clipboard

Whether there's more data to load in next (latest) direction.

Link copied to clipboard

Whether there's more data to load in previous (oldest) direction.

Link copied to clipboard

The pending message lists.

Link copied to clipboard

Whether to automatically check and prefetch messages to latest direction when this collection is brought to the foreground or the network connection gets re-established.

Link copied to clipboard

The starting point of the collection.

Link copied to clipboard

The list of succeeded message list in this collection.

Functions

Link copied to clipboard
open override fun dispose()

Disposes current BaseMessageCollection and stops all events from being received.

Link copied to clipboard

Initializes this collection from startingPoint.

Link copied to clipboard

Loads next (latest direction) message lists.

Link copied to clipboard

Loads previous (oldest direction) message lists.

Link copied to clipboard

Remove all failed messages of this BaseMessageCollection

Link copied to clipboard

Remove specific failed messages of this BaseMessageCollection

Link copied to clipboard