InAppMessagingDisplay
protocol InAppMessagingDisplayThe protocol that a FIAM display component must implement. This protocol is unavailable on macOS, macOS Catalyst, and watchOS.
-
Method for rendering a specified message on client side. Invoked on a background thread.
Declaration
Swift
func displayMessage(_ messageForDisplay: InAppMessagingDisplayMessage, displayDelegate: any InAppMessagingDisplayDelegate)Parameters
messageForDisplaythe message object. It would be of one of the three message types at runtime.
displayDelegatethe callback object used to trigger notifications about certain conditions related to message rendering.