createNotificationHandler
Method that creates a NotificationHandler.
Return
A NotificationHandler instance.
Parameters
The Context to build the NotificationHandler with.
Configuration for push notifications.
Lambda expression used to generate an Intent to open your app
Lambda expression used to generate a NotificationChannel. Used in SDK_INT >= VERSION_CODES.O.
Generates IconCompat to be shown on notifications.
Handles android.Manifest.permission.POST_NOTIFICATIONS permission lifecycle.
Lambda expression used to formats the text of the notification.
Lambda expression used to provide actions for the notification. See NotificationActionsFactory for customizing the default actions.
Lambda expression used to transform the NotificationCompat.Builder before building the notification.
Lambda expression called when a new push message is received. Return true if the push message was handled and no further processing is required.
Custom factory for generating notification IDs based on ChatNotification. If null or if NotificationIdFactory.getNotificationId returns null, the SDK will use its default notification ID generation logic. Use this to customize how notifications are grouped.