com.salesforce.marketingcloud.notifications.NotificationManager.NotificationLaunchIntentProvider |
Provide your NotificationManager.NotificationLaunchIntentProvider
in the NotificationCustomizationOptions
when
initializing the SDK via setNotificationCustomizationOptions(NotificationCustomizationOptions)
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract PendingIntent |
getNotificationPendingIntent(Context context, NotificationMessage notificationMessage)
Provide a PendingIntent for the desired destination when a notification is opened.
|
Provide a PendingIntent for the desired destination when a notification is opened. This value will be set as the 'content intent' on the notification.
The SDK will wrap the returned PendingIntent such that it can log analytics for when the notification is clicked.
context | The context to use when creating the PendingIntent |
---|---|
notificationMessage | The message for the PendingIntent |
notificationMessage
.