InAppMessagingFeatureConfig
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Package: com.salesforce.marketingcloud.inappmessagingfeature.config
Module: In App Messaging Feature Module v1.0.0
1class InAppMessagingFeatureConfig : InAppMessagingFeatureModuleConfigConfiguration class for the In App Messaging Feature of the Salesforce Marketing Cloud SDK.
1val config = InAppMessagingFeatureConfig {
2 eventListener = myEventListener
3 urlHandler = myUrlHandler
4 typeface = Typeface.DEFAULT_BOLD
5 statusBarColor = 0xFFFF8040.toInt()
6}1val config = InAppMessagingFeatureConfig.builder()
2 .setEventListener(myEventListener)
3 .setUrlHandler(myUrlHandler)
4 .setTypeface(Typeface.DEFAULT_BOLD)
5 .setStatusBarColor(0xFFFF8040.toInt())
6 .build()| Property | Type | Annotations | Description |
|---|---|---|---|
eventListener | InAppMessageManager.EventListener? | @JvmField | Optional event listener for in-app message lifecycle callbacks |
urlHandler | UrlHandler? | @JvmField | Optional URL handler for customizing how URLs in messages are handled |
typeface | Typeface? | @JvmField | Optional typeface for in-app message text |
statusBarColor | Int? | @ColorInt, @JvmField | Optional status bar color for in-app messages |
1open operator override fun equals(other: Any?): BooleanStandard equality comparison.
1open override fun hashCode(): IntReturns hash code for the configuration object.
1fun toBuilder(): InAppMessagingFeatureConfig.BuilderCreates a new Builder with the current configuration values.
1class BuilderBuilder class for constructing InAppMessagingFeatureConfig instances.
1object CompanionCompanion object for the configuration class.
InAppMessagingFeatureInAppMessageManager.EventListenerUrlHandler