Functions

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

Called when the channel this collection holds is deleted.

Link copied to clipboard
abstract fun onChannelUpdated(context: FeedChannelContext, channel: FeedChannel)

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: NotificationContext, channel: FeedChannel, messages: List<BaseMessage>)

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

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

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

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

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