create Notification
The interface for a custom notification factory. Implementing this interface and registering an instance via Braze.customBrazeNotificationFactory allows for custom modification or replacement of Braze push messages before they are deployed to the notification center.
Separate from notification object generation, it is also possible to handle deployment to the notification center itself manually (for example, to finely control what notification id is sent with the notification). When handling display manually, your notification factory should return null and also handle sending a push received broadcast intent and optionally waking the screen.
Return
a Notification object to be delivered to the notification area, or null if delivery to the notification center will be handled manually.
Parameters
A convenience wrapper object around the Braze notification payload.