InAppMessageDelegate

Optional callbacks for the host app to observe and gate native in-app messages. Every method has a default, so integrators override only what they need. All callbacks are invoked on the main thread.

Functions

Link copied to clipboard
open fun clickedAction(url: String, messageId: String?)
Link copied to clipboard
open fun didClose(messageId: String?)
Link copied to clipboard
open fun didPresent(messageId: String?)
Link copied to clipboard
open fun shouldDisplay(messageId: String?): Boolean

Return false to suppress this specific message before it is shown.

Link copied to clipboard
open fun willPresent(messageId: String?)