InAppMessageManager

Public interface for managing In-App Messages.

This interface provides methods for displaying messages, configuring appearance, and listening to message lifecycle events.

Types

Link copied to clipboard
interface EventListener

When an object of this type is registered with the InAppMessageManager, its methods will be called to signal certain in app message events.

Functions

Link copied to clipboard

Set a EventListener that will be called during In App Message life cycle events.

Link copied to clipboard
abstract fun setStatusBarColor(@ColorInt color: Int)

Set the color of the In App Message Activity status bar on Android 21 or higher.

Link copied to clipboard
abstract fun setTypeface(typeface: Typeface?)

Set the font android.graphics.Typeface to be used for In app Messages.

Link copied to clipboard
abstract fun showMessage(messageId: String)

Will display the InAppMessage with the matching id as long as: