CampaignEventDelegate
Undocumented
-
- Tells the delegate that specified campaign is about to trigger.
- This method gets called just before triggering the campaign
Declaration
Swift
func onCampaignTriggered(campaign : EngageCampaign) -> BoolParameters
campaignan Instance of EngageCampaign
Return Value
A Bool value that decides whether to trigger the campaign or not Return true to show the campaign to user Return false to avoid showing campaign to user
-
- Tells the delegate that user has interacted with campaign.
- This method gets called after user finished the campaign workflow.
Declaration
Swift
func onCampaignAction(campaign : EngageCampaign)Parameters
campaignan Instance of EngageCampaign
CampaignEventDelegate Protocol Reference