CatalogEvent

Package: com.salesforce.marketingcloud.sfmcsdk.components.events

SDK Version: 11.0.0

Platform: androidJvm


A sealed class representing catalog-related engagement events in the Salesforce Marketing Cloud Unified SDK. This class is used to track user interactions with catalog objects such as products or blog posts.

  • Extends: EngagementEvent

The catalog object associated with this event.


The following classes inherit from CatalogEvent:

  • ViewCatalogEvent - Records when a user examines a catalog object
  • ViewCatalogDetailEvent - Records when a user views detailed information about a catalog object
  • QuickViewCatalogEvent - Records when a user performs a quick view of a catalog object
  • ShareCatalogEvent - Records when a user shares a catalog object
  • ReviewCatalogEvent - Records when a user reviews a catalog object
  • CommentCatalogEvent - Records when a user comments on a catalog object
  • FavoriteCatalogEvent - Records when a user favorites a catalog object

A companion object for the CatalogEvent class.


Package: com.salesforce.marketingcloud.sfmcsdk.components.events

A catalog object that represents various items that can be tracked, such as products or blog posts.

Parameters
ParameterTypeDescriptionDefault
typeStringA type name representing the catalog objectRequired
idStringA unique id representing the catalog objectRequired
attributesMap<String, Any>A map of user-supplied valuesmapOf()
relatedCatalogObjectsMap<String, List<String>>A map of related catalog objectsmapOf()
attributes

A map of user-supplied values.

id

A unique id representing the catalog object.

relatedCatalogObjects

A map of related catalog objects.

type

A type name representing the catalog object.