Functions

Link copied to clipboard
abstract fun onChannelDeleted(context: CC, channelUrl: String)

Called when the channel this collection holds is deleted.

Link copied to clipboard
abstract fun onChannelUpdated(context: CC, channel: C)

Called when there's a change in the channel this collection holds.

Link copied to clipboard
abstract fun onHugeGapDetected()

Called when the collection has detected a huge gap between current message list. This can happen SDK checks for missing messages, which occurs in two cases.

Link copied to clipboard
abstract fun onMessagesAdded(context: MC, channel: C, messages: List<BaseMessage>)

Called when one or more BaseMessage is added to this collection.

Link copied to clipboard
abstract fun onMessagesDeleted(context: MC, channel: C, messages: List<BaseMessage>)

Called when one or more BaseMessage is deleted from this collection.

Link copied to clipboard
abstract fun onMessagesUpdated(context: MC, channel: C, messages: List<BaseMessage>)

Called when one or more BaseMessage is update in this collection.