Package-level declarations

Types

Link copied to clipboard

A named, auto-height placement. XML layouts specify the name with app:placementName.

Link copied to clipboard

Runtime controls for explicitly enabled, server-configured HTML messaging.

Link copied to clipboard

Lets the app view report what the user did, so that the SDK tracks the event and acts. Call on the main thread. Calls before the message is visible or after it closes do nothing.

Link copied to clipboard
sealed class MeiroNativeBlock

One content block, in the order set in Pipes.

Link copied to clipboard
class MeiroNativeButton(val id: String, val label: String, @ColorInt val backgroundColor: Int, @ColorInt val color: Int, val url: String?)

url is null when the button closes the message.

Link copied to clipboard
Link copied to clipboard
class MeiroNativeMessage(val messageId: String, val format: MeiroNativeFormat, val placement: String?, val closeButtonVisible: Boolean, @ColorInt val backgroundColor: Int, val blocks: List<MeiroNativeBlock>)

Native message content, personalized for the current profile.

Link copied to clipboard
fun interface MeiroNativeRenderer

Draws native in-app messages with the app's own views, for example its design system components.