Action

Package: com.salesforce.marketingcloud.pushmodels.data

Module: Push Models Module v1.0.2

Actions define the behavior of user events on push notifications.

Opens cloud page via a URL in the default browser.

Parameters:

  • url: String - The URL to the cloud page

Opens a deep link via UrlHandler.

Parameters:

  • url: String - The deep link URL

Opens a URL in the default browser.

Parameters:

  • url: String - The URL to open

Launches the integrating app.


Dismisses the notification.


Enum representing action types.


Companion object for the Action class.

The type identifier for the action.

Converts the Action to a JSON representation.

Returns: JSONObject - JSON representation of the action