Simple Chat Notification Listener
class SimpleChatNotificationListener(context: Context) : ChatNotificationListener
Content copied to clipboard
Simple chat notification listener handles how the incoming chat message will be shown and uses the SimpleChatConfiguration
Parameters
context
context
Constructors
Functions
Link copied to clipboard
open override fun onCreateNotification(chatInfo: ChatInfo, notificationStyle: ChatNotificationStyle)
Content copied to clipboard
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
open override fun onIncomingChat( chat: IncomingChat, isDnd: Boolean, isScreenLocked: Boolean)
Content copied to clipboard
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.