Message Collection
Collection that handles message lists, also supporting local caching.
Since
3.1.0
Properties
The GroupChannel tracked by this MessageCollection.
Indicates the lifecycle of the collection.
A new Comparator for sorting succeeded BaseMessage using the MessageListParams.reverse set in this collection.
The failed message lists.
Whether there's more data to load in previous (oldest) direction.
The pending message lists.
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.
The starting point of the collection.
The list of succeeded message list in this collection.
Functions
Disposes current BaseMessageCollection and stops all events from being received.
Initializes this collection from startingPoint.
Loads next (latest direction) message lists.
Loads previous (oldest direction) message lists.
Remove all failed messages of this BaseMessageCollection
Remove specific failed messages of this BaseMessageCollection