Campaign
public struct Campaign<AppAttributes> where AppAttributes : ActivityAttributes
The MoEngage Live Activity campaign data.
-
Campaign Id unique to campaign.
Declaration
Swift
public let campaignId: String -
Campaign name.
Declaration
Swift
public let campaignName: String -
The type of delivery the updates will be pushed.
Declaration
Swift
public let deliveryType: String -
The attribute type name that describes Widget data.
Declaration
Swift
public let attributeType: String -
Id unique to campaign dynamic update instance.
Declaration
Swift
public let instanceId: String -
App specific Live Activity static attributes.
Declaration
Swift
public let appAttributes: AppAttributes -
App specific Live Activit dynamic attributes.
Declaration
Swift
public let appContent: AppAttributes.ContentState -
The workspace Id campaign resides in.
Declaration
Swift
public let workspaceId: String? -
init(campaignId:campaignName: deliveryType: attributeType: instanceId: appAttributes: appContent: workspaceId: ) Create MoEngage campaign data input to create Live Activity.
Declaration
Swift
public init( campaignId: String, campaignName: String, deliveryType: String, attributeType: String, instanceId: String, appAttributes: AppAttributes, appContent: AppAttributes.ContentState, workspaceId: String? = nil )Parameters
campaignIdCampaign Id unique to campaign.
campaignNameCampaign name.
deliveryTypeThe type of delivery the updates will be pushed.
attributeTypeThe attribute type name that describes Widget data.
instanceIdId unique to campaign dynamic update instance.
appAttributesApp specific Live Activity static attributes.
appContentApp specific Live Activit dynamic attributes.
workspaceIdThe workspace Id campaign resides in.
-
The result of Live Activity result.
See moreDeclaration
Swift
public struct Result