NativeCampaignPayload

class NativeCampaignPayload(campaignId: String, campaignName: String, templateType: String, isCancellable: Boolean, dismissInterval: Long, payload: JSONObject, campaignContext: CampaignContext, inAppType: InAppType, supportedOrientations: Set<ScreenOrientation>, primaryContainer: InAppContainer?, primaryWidget: Int, alignment: TemplateAlignment, customPayload: String?) : CampaignPayload

Author

Arshiya Khanum

Constructors

NativeCampaignPayload
Link copied to clipboard
fun NativeCampaignPayload(campaignId: String, campaignName: String, primaryContainer: InAppContainer, primaryWidget: Int, templateType: String, alignment: TemplateAlignment, isCancellable: Boolean, dismissInterval: Long, campaignPayload: JSONObject, campaignContext: CampaignContext, inAppType: InAppType, supportedOrientations: Set<ScreenOrientation>)
NativeCampaignPayload
Link copied to clipboard
fun NativeCampaignPayload(campaignId: String, campaignName: String, alignment: TemplateAlignment, templateType: String, isCancellable: Boolean, dismissInterval: Long, campaignPayload: JSONObject, customPayload: String, campaignContext: CampaignContext, inAppType: InAppType, supportedOrientations: Set<ScreenOrientation>)
NativeCampaignPayload
Link copied to clipboard
fun NativeCampaignPayload(campaignId: String, campaignName: String, templateType: String, isCancellable: Boolean, dismissInterval: Long, payload: JSONObject, campaignContext: CampaignContext, inAppType: InAppType, supportedOrientations: Set<ScreenOrientation>, primaryContainer: InAppContainer?, primaryWidget: Int, alignment: TemplateAlignment, customPayload: String?)

Properties

alignment
Link copied to clipboard
val alignment: TemplateAlignment
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.
customPayload
Link copied to clipboard
val customPayload: String?
dismissInterval
Link copied to clipboard
open override val dismissInterval: Long
Interval after which the campaign should be dismissed if not clicked.
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
primaryContainer
Link copied to clipboard
val primaryContainer: InAppContainer?
primaryWidget
Link copied to clipboard
val primaryWidget: Int
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.