FIRInAppMessagingDisplayMessage
@interface FIRInAppMessagingDisplayMessage : NSObjectBase 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
Objective-C
@property (nonatomic, copy, readonly, nonnull) FIRInAppMessagingCampaignInfo *campaignInfo; -
The type and UI style of this message.
Declaration
Objective-C
@property (nonatomic, readonly) FIRInAppMessagingDisplayMessageType type; -
How this message should be triggered.
Declaration
Objective-C
@property (nonatomic, readonly) FIRInAppMessagingDisplayTriggerType triggerType; -
Extra key-value dictionary data that can be sent along with the message
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSDictionary *appData; -
Unavailable
Unavailable.
Declaration
Objective-C
- (nonnull instancetype)init; -
Exposed for unit testing only. Don’t instantiate this in your app directly.
Declaration
Objective-C
- (nonnull instancetype) initWithMessageID:(nonnull NSString *)messageID campaignName:(nonnull NSString *)campaignName renderAsTestMessage:(BOOL)renderAsTestMessage messageType:(FIRInAppMessagingDisplayMessageType)messageType triggerType:(FIRInAppMessagingDisplayTriggerType)triggerType;