FirebaseInAppMessagingDisplay Framework Reference

FIRInAppMessagingCampaignInfo

@interface FIRInAppMessagingCampaignInfo : NSObject

Defines the metadata for the campaign to which a FIAM message belongs.

  • Identifier for the campaign for this message.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nonnull) NSString *messageID;
  • The name of this campaign, as defined in the console on campaign creation.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nonnull) NSString *campaignName;
  • Whether or not this message is being rendered in Test On Device mode.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL renderAsTestMessage;
  • Unavailable.

    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;