onCreateNotification

open fun onCreateNotification(context: Context, notificationPayload: NotificationPayload): NotificationCompat.Builder

Build the notification using NotificationCompat.Builder

Override this method to customise the NotificationCompat.Builder. If you want to just add a feature to the notification do not forget to call super()

Parameters

context

instance of Context

notificationPayload