MoEngageCardCampaign
public class MoEngageCardCampaign: NSObject, NSCoding
Card data
-
Unique identifier for the campaign
Declaration
Swift
public internal(set) var cardID: String
-
if true the card is shown else its hidden
Declaration
Swift
public internal(set) var shouldShow: Bool
-
Category to which the campaign belongs.
Declaration
Swift
public internal(set) var category: String
-
Date at which card campaign was created
Declaration
Swift
public internal(set) var createdDate: Date?
-
Date at which card campaign was updated
Declaration
Swift
public internal(set) var updatedDate: Date
-
Meta data related to the campaign like status, delivery control etc.
Declaration
Swift
public internal(set) var metaData: [String: Any] = [:]
-
MoEngageCardTemplateData
instance which contains UI informationDeclaration
Swift
public internal(set) var templateData: MoEngageCardTemplateData?
-
State of the card.
Declaration
Swift
public internal(set) var cardState: MoEngageCampaignState = MoEngageCampaignState(showCountTotal: 0, isClicked: false, firstSeenTime: nil, firstDeliveredTime: nil, showCountCurrentDevice: 0)