BrazeNotificationFactory

open class BrazeNotificationFactory : IBrazeNotificationFactory

Default IBrazeNotificationFactory that builds Android notifications from Braze push payloads. Configures icons, images, sounds, styles, actions, and notification channels.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun createNotification(payload: BrazeNotificationPayload): Notification?

Creates the rich notification. The notification content varies based on the Android version on the device, but each notification can contain an icon, image, title, and content.

fun createNotification(appConfigurationProvider: BrazeConfigurationProvider?, context: Context?, notificationExtras: Bundle?, brazeExtras: Bundle?): Notification?

Please use createNotification directly instead.

Link copied to clipboard
fun populateNotificationBuilder(configurationProvider: BrazeConfigurationProvider?, context: Context?, notificationExtras: Bundle?, brazeExtras: Bundle?): NotificationCompat.Builder?

Equivalent to createNotification.