Types

Link copied to clipboard

Represents an interface for custom MessagesEvent.

Link copied to clipboard
class Empty(val channel: UikitGroupChannel = EmptyGroupChannel, val totalMessages: List<UikitBaseMessage> = emptyList()) : MessagesEvent

Represents the empty state of the message list.

Link copied to clipboard

Represents the result from when failed messages are removed by MessageCollection.removeFailedMessages.

Link copied to clipboard
class InitApiResult(val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the result from when messages are loaded from the API by MessageCollection.initialize.

Link copied to clipboard
class InitCacheResult(val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the result from when messages are loaded from the cache by MessageCollection.initialize.

Link copied to clipboard
class LoadNextResult(val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the result from when the next page of messages are loaded by MessageCollection.loadNext.

Link copied to clipboard
class LoadPreviousResult(val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the result from when the previous page of messages are loaded by MessageCollection.loadPrevious.

Link copied to clipboard
class OnChannelUpdated(val channelContext: <Error class: unknown class>, val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onChannelUpdated.

Link copied to clipboard
class OnHugeGapDetected(val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onHugeGapDetected.

Link copied to clipboard
class OnMessagesAdded(val messageContext: <Error class: unknown class>, val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onMessagesAdded.

Link copied to clipboard
class OnMessagesDeleted(val messageContext: <Error class: unknown class>, val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onMessagesDeleted.

Link copied to clipboard
class OnMessagesUpdated(val messageContext: <Error class: unknown class>, val channel: UikitGroupChannel, val totalMessages: List<UikitBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onMessagesUpdated.

Properties

Link copied to clipboard

Represents the channel where the messages are loaded from.

Link copied to clipboard

Represents the total messages loaded.