devsite/tools/jazzy/templates

FirebaseInAppMessaging Framework Reference

InAppMessagingDisplay

protocol InAppMessagingDisplay

The 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

    messageForDisplay

    the message object. It would be of one of the three message types at runtime.

    displayDelegate

    the callback object used to trigger notifications about certain conditions related to message rendering.