IntentProvider

Package: com.salesforce.marketingcloud.pushfeature.push
Module: Push Feature Module v2.0.0
SDK: Salesforce Marketing Cloud Unified SDK 11.0.0

A class that provides intent handling functionality for push notifications in the Salesforce Marketing Cloud SDK.

Parameters:

  • context: Android Context object
  • message: NotificationMessage containing push notification data

Companion object for the IntentProvider class.

Creates a PendingIntent for notification actions.

Parameters:

  • actions: Array of Action objects defining notification actions (nullable)
  • analyticsType: String identifying the analytics type
  • clickedId: String identifier for the clicked element
  • title: String title for the action (nullable)

Returns:

  • PendingIntent?: A PendingIntent object or null

Description: Generates a PendingIntent for the passed actions

  • Target: androidJvm