MoEngageCardCampaign

@objc
public class MoEngageCardCampaign : NSObject, NSCoding

Card data

  • Unique identifier for the campaign

    Declaration

    Swift

    @objc
    public internal(set) var cardID: String { get }
  • if true the card is shown else its hidden

    Declaration

    Swift

    @objc
    public internal(set) var shouldShow: Bool { get }
  • Category to which the campaign belongs.

    Declaration

    Swift

    @objc
    public internal(set) var category: String { get }
  • Date at which card campaign was created

    Declaration

    Swift

    @objc
    public internal(set) var createdDate: Date? { get }
  • Date at which card campaign was updated

    Declaration

    Swift

    @objc
    public internal(set) var updatedDate: Date { get }
  • Meta data related to the campaign like status, delivery control etc.

    Declaration

    Swift

    @objc
    public internal(set) var metaData: [String : Any] { get }
  • MoEngageCardTemplateData instance which contains UI information

    Declaration

    Swift

    @objc
    public internal(set) var templateData: MoEngageCardTemplateData? { get }
  • State of the card.

    Declaration

    Swift

    @objc
    public internal(set) var cardState: MoEngageCampaignState { get }