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 objectViewCatalogDetailEvent- Records when a user views detailed information about a catalog objectQuickViewCatalogEvent- Records when a user performs a quick view of a catalog objectShareCatalogEvent- Records when a user shares a catalog objectReviewCatalogEvent- Records when a user reviews a catalog objectCommentCatalogEvent- Records when a user comments on a catalog objectFavoriteCatalogEvent- 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
| Parameter | Type | Description | Default |
|---|---|---|---|
type | String | A type name representing the catalog object | Required |
id | String | A unique id representing the catalog object | Required |
attributes | Map<String, Any> | A map of user-supplied values | mapOf() |
relatedCatalogObjects | Map<String, List<String>> | A map of related catalog objects | mapOf() |
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.