InAppMessagingFeature

Package: com.salesforce.marketingcloud.inappmessagingfeature

Module: In App Messaging Feature Module v1.0.0

SDK: Salesforce Marketing Cloud Unified SDK 11.0.0

The InAppMessagingFeature class provides comprehensive functionality for managing in-app messages and related features within the Salesforce Marketing Cloud SDK.

Since: 1.0.0

  • Displaying in-app messages triggered by marketing campaigns
  • Controlling message display with an event listener
  • Customizing message appearance with typeface and status bar color
  • Programmatically showing previously blocked messages

This class is thread-safe and uses atomic operations for state management. All public methods can be called from any thread.

Returns the current state of the InAppMessagingFeature module as a JSONObject.

Gets the configuration used to initialize this InAppMessagingFeature instance.

Returns: InAppMessagingFeatureConfig


Gets the In-App Message Manager for managing in-app messages.

Returns: InAppMessageManager


Gets the initialization status of this InAppMessagingFeature instance.

Returns: InAppMessagingFeatureInitializationStatus?


Checks if the InAppMessagingFeature instance is torn down.

Returns: Boolean

  • InAppMessagingFeatureConfig

Target: androidJvm