ChatNotificationListener

interface ChatNotificationListener

Listener for chat notifications

Since

v1.1.0

Functions

Link copied to clipboard
abstract fun onCreateNotification(chatInfo: ChatInfo, notificationStyle: ChatNotificationStyle)

This method will be called when a notification is going to be displayed. The notification look&feel can be customized here.

Link copied to clipboard
abstract fun onIncomingChat(    chat: IncomingChat,     isDnd: Boolean,     isScreenLocked: Boolean)

This method will be called when an incoming chat has been received. Here it is possible to launch the incoming chat as activity, notification or not display it at all.

Inheritors

Link copied to clipboard