FIRInAppMessagingModalDisplay


@interface FIRInAppMessagingModalDisplay : FIRInAppMessagingDisplayMessageBase

Class for defining a modal message for display.

  • Gets the title for a modal fiam message.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nonnull) NSString *title;
  • Gets the image data for a modal fiam message.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable)
        FIRInAppMessagingImageData *imageData;
  • Gets the image data for a modal fiam message.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *bodyText;
  • Gets the image data for a modal fiam message.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        FIRInAppMessagingActionButton *actionButton;
  • Gets the background color for a modal fiam message.

    Declaration

    Objective-C

    @property(nonatomic, copy, nonnull) UIColor *displayBackgroundColor
  • Gets the color for text in modal fiam message. It would apply to both title and body text.

    Declaration

    Objective-C

    @property(nonatomic, copy, nonnull) UIColor *textColor
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithMessageID:(NSString *)messageID
                  renderAsTestMessage:(BOOL)renderAsTestMessage
                            titleText:(NSString *)title
                             bodyText:(NSString *)bodyText
                            textColor:(UIColor *)textColor
                      backgroundColor:(UIColor *)backgroundColor
                            imageData:(nullable FIRInAppMessagingImageData *)imageData
                         actionButton:(nullable FIRInAppMessagingActionButton *)actionButton
        NS_DESIGNATED_INITIALIZER;