Marketing Cloud SDK / com.salesforce.marketingcloud.notifications / NotificationManager / NotificationBuilder


interface NotificationBuilder

Provide your NotificationBuilder in the NotificationCustomizationOptions when initializing the SDK via com.salesforce.marketingcloud.MarketingCloudConfig.Builder#setNotificationCustomizationOptions(NotificationCustomizationOptions). If the builder is provided it is expected to be complete and will be used as-is by the SDK to display the notification. Please consult the Android documentation to ensure completeness.



Provide the Notification Builder to be used when displaying a notification message.

abstract fun setupNotificationBuilder(context: Context, notificationMessage: NotificationMessage): Builder