InAppMessagingBannerDisplay
class InAppMessagingBannerDisplay : InAppMessagingDisplayMessage
Class for defining a banner message for display.
-
Gets the title of a banner message.
Declaration
Swift
var title: String { get }
-
Gets the image data for a banner message.
Declaration
Swift
@NSCopying var imageData: InAppMessagingImageData? { get }
-
Gets the body text for a banner message.
Declaration
Swift
var bodyText: String? { get }
-
Gets banner’s background color
Declaration
Swift
@NSCopying var displayBackgroundColor: UIColor { get }
-
Gets the color for text in banner fiam message. It would apply to both title and body text.
Declaration
Swift
@NSCopying var textColor: UIColor { get set }
-
Gets the action URL for a banner fiam message.
Declaration
Swift
var actionURL: URL? { get }
-
Unavailable.
-
init(messageID:campaignName:renderAsTestMessage:triggerType:titleText:bodyText:textColor:backgroundColor:imageData:actionURL:)
Deprecated, this class shouldn’t be directly instantiated.
Declaration
Swift
init(messageID: String, campaignName: String, renderAsTestMessage: Bool, triggerType: FIRInAppMessagingDisplayTriggerType, titleText title: String, bodyText: String, textColor: UIColor, backgroundColor: UIColor, imageData: InAppMessagingImageData?, actionURL: URL?)