TransactionCampaign
public struct TransactionCampaign<AppAttributes> : CampaignProtocol where AppAttributes : ActivityAttributes
-
Declaration
Swift
public typealias ResultType = Result -
Declaration
Swift
public func createResult(workspaceId: String) -> Result -
Campaign Id unique to campaign.
Declaration
Swift
public let campaignId: String -
Campaign name.
Declaration
Swift
public let campaignName: String -
transactionId unique to campaign.
Declaration
Swift
public let transactionId: 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: transactionId: attributeType: instanceId: appAttributes: appContent: deliveryType: workspaceId: ) Create MoEngage campaign data input to create Live Activity.
Declaration
Swift
public init(campaignId: String, campaignName: String, transactionId: String, attributeType: String, instanceId: String, appAttributes: AppAttributes, appContent: AppAttributes.ContentState, deliveryType: String = "Transactional Live Activity", 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 : CampaignResultProtocol