customizeNotification

open fun customizeNotification(notification: Notification, context: Context, payload: Bundle)

Callback to customise the notification object if required. SDK uses this method to add/customise a few settings like vibration, led color etc. Make sure you call super before adding your own customisation.

Parameters

notification

instance of Notification which will be posted.

context

instance of Context.

payload

push payload.