androidchatsdk / Notable Classes / NotificationConfig

NotificationConfig

data class NotificationConfig

This customizes the display of the Push Notifications.

Parameters

smallIcon - The small icon resource you wish to display as a part of the notification.

recentMessageCount - The max number of recent messages to display in the push notification.

contentTitle - The content title of the push notification.

summaryText - The summary text that appears near to the small icon.

Constructors

Name Summary
<init> NotificationConfig(smallIcon:Int= R.drawable.ic_android_ic_24dp, recentMessageCount:Int= 10, contentTitle:String= "New Message!", summaryText:String= "")
This customizes the display of the Push Notifications.

Properties

Name Summary
contentTitle val contentTitle:String
The content title of the push notification.
recentMessageCount val recentMessageCount:Int
The max number of recent messages to display in the push notification.
smallIcon val smallIcon:Int
The small icon resource you wish to display as a part of the notification.
summaryText val summaryText:String
The summary text that appears near to the small icon.