FirebaseInAppMessagingDisplay Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
FIRInAppMessagingBannerDisplay
Class for defining a banner message for display.
-
Gets the title of a banner message.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nonnull) NSString *title;
-
Gets the image data for a banner message.
-
Gets the body text for a banner message.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) 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;
-
Declaration
Objective-C
- (nonnull instancetype)init;
-
Deprecated, this class shouldn’t be directly instantiated.
Declaration
Objective-C
- (nonnull instancetype)
initWithMessageID:(nonnull NSString *)messageID
campaignName:(nonnull NSString *)campaignName
renderAsTestMessage:(BOOL)renderAsTestMessage
triggerType:(FIRInAppMessagingDisplayTriggerType)triggerType
titleText:(nonnull NSString *)title
bodyText:(nonnull NSString *)bodyText
textColor:(nonnull UIColor *)textColor
backgroundColor:(nonnull UIColor *)backgroundColor
imageData:(nullable FIRInAppMessagingImageData *)imageData
actionURL:(nullable NSURL *)actionURL;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-03-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-03 UTC."],[],[],null,["FIRInAppMessagingBannerDisplay \n\n\n @interface FIRInAppMessagingBannerDisplay : ../Classes/FIRInAppMessagingDisplayMessage.html\n\nClass for defining a banner message for display.\n- `\n ``\n ``\n `\n\n [title](#/c:objc(cs)FIRInAppMessagingBannerDisplay(py)title)`\n ` \n Gets the title of a banner message. \n\n Declaration \n Objective-C \n\n @property (readonly, copy, nonatomic, nonnull) NSString *title;\n\n- `\n ``\n ``\n `\n\n [imageData](#/c:objc(cs)FIRInAppMessagingBannerDisplay(py)imageData)`\n ` \n Gets the image data for a banner message. \n\n Declaration \n Objective-C \n\n @property (readonly, copy, nonatomic, nullable)\n ../Classes/FIRInAppMessagingImageData.html *imageData;\n\n- `\n ``\n ``\n `\n\n [bodyText](#/c:objc(cs)FIRInAppMessagingBannerDisplay(py)bodyText)`\n ` \n Gets the body text for a banner message. \n\n Declaration \n Objective-C \n\n @property (readonly, copy, nonatomic, nullable) NSString *bodyText;\n\n- `\n ``\n ``\n `\n\n [displayBackgroundColor](#/c:objc(cs)FIRInAppMessagingBannerDisplay(py)displayBackgroundColor)`\n ` \n Gets banner's background color \n\n Declaration \n Objective-C \n\n @property (readonly, copy, nonatomic, nonnull) UIColor *displayBackgroundColor;\n\n- `\n ``\n ``\n `\n\n [textColor](#/c:objc(cs)FIRInAppMessagingBannerDisplay(py)textColor)`\n ` \n Gets the color for text in banner fiam message. It would apply to both title and body text. \n\n Declaration \n Objective-C \n\n @property (readwrite, copy, nonatomic, nonnull) UIColor *textColor;\n\n- `\n ``\n ``\n `\n\n [actionURL](#/c:objc(cs)FIRInAppMessagingBannerDisplay(py)actionURL)`\n ` \n Gets the action URL for a banner fiam message. \n\n Declaration \n Objective-C \n\n @property (readonly, nonatomic, nullable) NSURL *actionURL;\n\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)FIRInAppMessagingBannerDisplay(im)init)`\n ` \n Unavailable. \n\n Declaration \n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n [-initWithMessageID:campaignName:renderAsTestMessage:triggerType:titleText:bodyText:textColor:backgroundColor:imageData:actionURL:](#/c:objc(cs)FIRInAppMessagingBannerDisplay(im)initWithMessageID:campaignName:renderAsTestMessage:triggerType:titleText:bodyText:textColor:backgroundColor:imageData:actionURL:)`\n ` \n Deprecated, this class shouldn't be directly instantiated. \n\n Declaration \n Objective-C \n\n - (nonnull instancetype)\n initWithMessageID:(nonnull NSString *)messageID\n campaignName:(nonnull NSString *)campaignName\n renderAsTestMessage:(BOOL)renderAsTestMessage\n triggerType:(../Enums/FIRInAppMessagingDisplayTriggerType.html)triggerType\n titleText:(nonnull NSString *)title\n bodyText:(nonnull NSString *)bodyText\n textColor:(nonnull UIColor *)textColor\n backgroundColor:(nonnull UIColor *)backgroundColor\n imageData:(nullable ../Classes/FIRInAppMessagingImageData.html *)imageData\n actionURL:(nullable NSURL *)actionURL;"]]