MeiroNativeActions

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.

Functions

Link copied to clipboard
abstract fun close()

Tracks a close and removes the message.

Link copied to clipboard
abstract fun press(button: MeiroNativeButton)

Tracks a button click, then opens the button URL or closes the message, as set in Pipes.