InAppMessagingModalDisplay
class InAppMessagingModalDisplay : InAppMessagingDisplayMessage
Class for defining a modal message for display.
-
Gets the title for a modal fiam message.
Declaration
Swift
var title: String { get }
-
Gets the image data for a modal fiam message.
Declaration
Swift
@NSCopying var imageData: InAppMessagingImageData? { get }
-
Gets the body text for a modal fiam message.
Declaration
Swift
var bodyText: String? { get }
-
Gets the action button metadata for a modal fiam message.
Declaration
Swift
var actionButton: InAppMessagingActionButton? { get }
-
Gets the action URL for a modal fiam message.
Declaration
Swift
var actionURL: URL? { get }
-
Gets the background color for a modal fiam message.
Declaration
Swift
@NSCopying var displayBackgroundColor: UIColor { get set }
-
Gets the color for text in modal fiam message. It would apply to both title and body text.
Declaration
Swift
@NSCopying var textColor: UIColor { get set }
-
Unavailable.
-
init(messageID:campaignName:renderAsTestMessage:triggerType:titleText:bodyText:textColor:backgroundColor:imageData:actionButton: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?, actionButton: InAppMessagingActionButton?, actionURL: URL?)