HtmlCampaignPayload

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

Author

Arshiya Khanum

Constructors

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

Functions

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

Properties

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