Builder
class Builder
Builder class for constructing InAppMessagingFeatureConfig instances.
This builder supports both Java-style setter methods and Kotlin-style property access.
Kotlin Usage
// Using builder
val config = InAppMessagingFeatureConfig.builder()
.setEventListener(myEventListener)
.setUrlHandler(myUrlHandler)
.setTypeface(Typeface.DEFAULT_BOLD)
.build()
// Using DSL
val config = InAppMessagingFeatureConfig {
eventListener = myEventListener
urlHandler = myUrlHandler
typeface = Typeface.DEFAULT_BOLD
}Content copied to clipboard
Functions
Link copied to clipboard
Builds a InAppMessagingFeatureConfig instance with the current builder values.
Link copied to clipboard
fun setEventListener(listener: InAppMessageManager.EventListener?): InAppMessagingFeatureConfig.Builder
Sets the event listener for in-app message lifecycle callbacks.
Link copied to clipboard
Sets the status bar color for in-app messages.
Link copied to clipboard
Sets the typeface for in-app message text.
Link copied to clipboard
Sets the URL handler for customizing how URLs in messages are handled.