CampaignPayload

open class CampaignPayload(campaignId: String, campaignName: String, templateType: String, isCancellable: Boolean, dismissInterval: Long, payload: JSONObject, campaignContext: CampaignContext, inAppType: InAppType, supportedOrientations: Set<ScreenOrientation>)

Author

Arshiya Khanum

Constructors

CampaignPayload
Link copied to clipboard
fun CampaignPayload(campaignId: String, campaignName: String, templateType: String, isCancellable: Boolean, dismissInterval: Long, payload: JSONObject, campaignContext: CampaignContext, inAppType: InAppType, supportedOrientations: Set<ScreenOrientation>)

Properties

campaignContext
Link copied to clipboard
open val campaignContext: CampaignContext
Campaign context attributes.
campaignId
Link copied to clipboard
open val campaignId: String
A unique identifier for the campaign.
campaignName
Link copied to clipboard
open val campaignName: String
A readable name for the campaign.
dismissInterval
Link copied to clipboard
open val dismissInterval: Long
Interval after which the campaign should be dismissed if not clicked.
inAppType
Link copied to clipboard
open val inAppType: InAppType
Type of InApp.
isCancellable
Link copied to clipboard
open val isCancellable: Boolean
payload
Link copied to clipboard
open val payload: JSONObject
supportedOrientations
Link copied to clipboard
open val supportedOrientations: Set<ScreenOrientation>
Set of supported screen orientations LANDSCAPE, PORTRAIT.
templateType
Link copied to clipboard
open val templateType: String
Type of template.

Inheritors

HtmlCampaignPayload
Link copied to clipboard
NativeCampaignPayload
Link copied to clipboard