FIRInAppMessagingBannerDisplay


@interface FIRInAppMessagingBannerDisplay : FIRInAppMessagingDisplayMessage

Class for defining a banner message for display.

  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, nonnull, copy, readonly) NSString *title
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, nullable, copy, readonly) FIRInAppMessagingImageData *imageData
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, nullable, copy, readonly) NSString *bodyText
  • Gets banner’s background color

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nonnull) UIColor *textColor;
  • Gets the action URL for a banner fiam message.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSURL *actionURL;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithMessageID:(NSString *)messageID
                         campaignName:(NSString *)campaignName
                  renderAsTestMessage:(BOOL)renderAsTestMessage
                          triggerType:(FIRInAppMessagingDisplayTriggerType)triggerType
                            titleText:(NSString *)title
                             bodyText:(NSString *)bodyText
                            textColor:(UIColor *)textColor
                      backgroundColor:(UIColor *)backgroundColor
                            imageData:(nullable FIRInAppMessagingImageData *)imageData
                            actionURL:(nullable NSURL *)actionURL NS_DESIGNATED_INITIALIZER;