MoEInAppCampaign

class MoEInAppCampaign @JvmOverloads constructor(campaignId: String, campaignName: String, customAction: CustomAction?, selfHandledCampaign: SelfHandledCampaign?, navigationAction: NavigationAction?, campaignContext: CampaignContext)

Provides InApp-Campaign related details in the listener InAppMessageListener

Author

Umang Chamaria

Since

10.0.00

Constructors

MoEInAppCampaign
Link copied to clipboard
fun MoEInAppCampaign(campaignId: String, campaignName: String, selfHandledCampaign: SelfHandledCampaign?, campaignContext: CampaignContext)
MoEInAppCampaign
Link copied to clipboard
fun MoEInAppCampaign(campaignId: String, campaignName: String, navigationAction: NavigationAction?, campaignContext: CampaignContext)
MoEInAppCampaign
Link copied to clipboard
fun MoEInAppCampaign(campaignId: String, campaignName: String, customAction: CustomAction? = null, selfHandledCampaign: SelfHandledCampaign? = null, navigationAction: NavigationAction? = null, campaignContext: CampaignContext)

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

campaignContext
Link copied to clipboard
val campaignContext: CampaignContext

Campaign context

campaignId
Link copied to clipboard
val campaignId: String

Campaign identifier.

campaignName
Link copied to clipboard
val campaignName: String

Campaign Name specified during campaign creation.

customAction
Link copied to clipboard
val customAction: CustomAction? = null

Key public value pairs for custom action defined on the SDK.

navigationAction
Link copied to clipboard
val navigationAction: NavigationAction? = null

Navigation

selfHandledCampaign
Link copied to clipboard
val selfHandledCampaign: SelfHandledCampaign? = null

Self handled campaign created on the MoEngage Platform.