FirebaseInAppMessagingDisplay Framework Reference

InAppMessagingDisplay

protocol InAppMessagingDisplay

The protocol that a FIAM display component must implement.

  • Method for rendering a specified message on client side. It’s called from main thread.

    Declaration

    Swift

    func displayMessage(_ messageForDisplay: InAppMessagingDisplayMessage, displayDelegate: 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.