MoEngageShownCampaign

@objc
public protocol MoEngageShownCampaign

Shared shape for any shown-campaign success result (MoEngageShowInAppResult and MoEngageShowNudgeResult). Lets customers write cross-cutting code (logging, analytics passthrough) that handles “campaign shown” events regardless of category.

  • Human-readable name of the shown campaign.

    Declaration

    Swift

    @objc
    var campaignName: String { get }
  • Identifier of the shown campaign.

    Declaration

    Swift

    @objc
    var campaignId: String { get }
  • Whether the campaign was rendered natively or via web view.

    Declaration

    Swift

    @objc
    var inAppType: MoEngageInAppType { get }