createPayload

fun createPayload(context: Context, appConfigurationProvider: BrazeConfigurationProvider, notificationExtras: Bundle, brazeExtras: Bundle): BrazeNotificationPayload

Creates a BrazeNotificationPayload from the notification extras and Braze extras bundles.

Return

A BrazeNotificationPayload suitable for notification construction.

Parameters

context

The Android Context.

appConfigurationProvider

The configuration provider.

notificationExtras

The full notification extras bundle.

brazeExtras

The Braze-specific extras bundle.