MoEngageInAppCampaign

@objc
public class MoEngageInAppCampaign : MoEngageModelObject

MoEngageInAppCampaign gives all the information about the inApp campaign

  • A unique Id to identify the campaign

    Declaration

    Swift

    @objc
    public let campaignId: String
  • Campaign name provided while creating the campaign

    Declaration

    Swift

    @objc
    public let campaignName: String
  • Expiry time of the campaign

    Declaration

    Swift

    @objc
    public let expiryTime: NSDate
  • Boolean flag if true then, campaign is shown for testing purpose only.

    Declaration

    Swift

    @objc
    public let isDraft: Bool
  • Additional meta data of campaign

    Declaration

    Swift

    @objc
    public let campaignContext: [String : Any]

Initialize method

  • Declaration

    Swift

    override public var description: String { get }