FIRInAppMessagingDisplay

@protocol FIRInAppMessagingDisplay

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

    Objective-C

    - (void)
     displayMessage:(nonnull FIRInAppMessagingDisplayMessageBase *)messageForDisplay
    displayDelegate:(nonnull id<FIRInAppMessagingDisplayDelegate>)displayDelegate;

    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.