InAppMessagingFeatureConfig
Configuration class for the In App Messaging Feature of the Salesforce Marketing Cloud SDK.
Example Usage:
// Using Builder pattern (Java-friendly)
val config = InAppMessagingFeatureConfig.builder()
.setEventListener(myEventListener)
.setUrlHandler(myUrlHandler)
.setTypeface(Typeface.DEFAULT_BOLD)
.setStatusBarColor(0xFFFF8040.toInt())
.build()
// Using Kotlin DSL
val config = InAppMessagingFeatureConfig {
eventListener = myEventListener
urlHandler = myUrlHandler
typeface = Typeface.DEFAULT_BOLD
statusBarColor = 0xFFFF8040.toInt()
}Content copied to clipboard
See also
Types
Link copied to clipboard
class Builder
Builder class for constructing InAppMessagingFeatureConfig instances.