InAppMessagingDisplayMessage
class InAppMessagingDisplayMessage : NSObject
Base class representing a FIAM message to be displayed. Don’t create instance of this class directly. Instantiate one of its subclasses instead. This class is unavailable on macOS, macOS Catalyst, and watchOS.
-
Metadata for the campaign to which this message belongs.
Declaration
Swift
@NSCopying var campaignInfo: InAppMessagingCampaignInfo { get }
-
The type and UI style of this message.
Declaration
Swift
var type: InAppMessagingDisplayMessageType { get }
-
How this message should be triggered.
Declaration
Swift
var triggerType: InAppMessagingDisplayTriggerType { get }
-
Extra key-value dictionary data that can be sent along with the message
Declaration
Swift
var appData: [AnyHashable : Any]? { get }
-
Unavailable
Unavailable.
-
Exposed for unit testing only. Don’t instantiate this in your app directly.
Declaration
Swift
init(messageID: String, campaignName: String, renderAsTestMessage: Bool, messageType: InAppMessagingDisplayMessageType, triggerType: InAppMessagingDisplayTriggerType)