MessageCollectionInitResult

Message collection init result

Since

4.15.0

Inheritors

Types

Link copied to clipboard
data class ApiResult(val result: List<BaseMessage>) : MessageCollectionInitResult

This will give message lists loaded from the api. Once the results are received, you should handle the data in view according to the MessageCollectionInitPolicy.

Link copied to clipboard
data class CachedResult(val result: List<BaseMessage>) : MessageCollectionInitResult

This will give message lists loaded from the db. If the db is empty, this will give an empty list.

Properties

Link copied to clipboard
abstract val result: List<BaseMessage>

The result of the initialization of the MessageCollection from the cache.