Notification Collection Handler
interface NotificationCollectionHandler : BaseMessageCollectionHandler<FeedChannel, FeedChannelContext, NotificationContext>
An interface used in NotificationCollection.
Since
4.6.0
See also
Functions
Link copied to clipboard
Called when the channel this collection holds is deleted.
Link copied to clipboard
Called when there's a change in the channel this collection holds.
Link copied to clipboard
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.