FirebaseInAppMessagingDisplay Framework Reference

FIRInAppMessagingCampaignInfo

class FIRInAppMessagingCampaignInfo : NSObject

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

  • Identifier for the campaign for this message.

    Declaration

    Swift

    var messageID: String { get }
  • The name of this campaign, as defined in the console on campaign creation.

    Declaration

    Swift

    var campaignName: String { get }
  • Whether or not this message is being rendered in Test On Device mode.

    Declaration

    Swift

    var renderAsTestMessage: Bool { get }
  • Unavailable.

  • Deprecated, this class shouldn’t be directly instantiated.

    Declaration

    Swift

    init(messageID: String, campaignName: String, renderAsTestMessage: Bool)