SFMCSdkModuleConfig

Package: com.salesforce.marketingcloud.sfmcsdk

Platform: androidJvm


A configuration builder class for the Salesforce Marketing Cloud Unified SDK. This class facilitates building all supported configurations for SFMCSdk. The SDK is initialized using the configuration provided by this class through SFMCSdk.configure.

Note: Only module configurations that need to be initialized should be provided.


Configuration for the CDP (Customer Data Platform) module.

Configuration for the Engagement module.

Configuration for the In-App Messaging feature module.

Configuration for the MAM (Mobile Application Messaging) module.

Configuration for the Personalization module.

Configuration for the Push feature module.


Builder class for creating various configurations supported by SFMCSdk. Configurations implementing the Config interface (EngagementModuleConfig, PersonalizationModuleConfig, and CdpModuleConfig) can be set.

Builder()

Creates a new instance of the Builder.

cdpModuleConfig

Configuration for the CDP (Customer Data Platform) module.

engagementModuleConfig

Configuration for the Engagement module.

inAppMessagingFeatureModuleConfig

Configuration for the In-App Messaging feature module.

mamModuleConfig

Configuration for the MAM (Mobile App Messaging) module.

personalizationModuleConfig

Configuration for the Personalization module.

pushFeatureModuleConfig

Configuration for the Push feature module.

build()

Constructs and returns a SFMCSdkModuleConfig instance using the configurations set in this builder. All module configurations provided through the builder are initialized.

Returns: A configured SFMCSdkModuleConfig object.