CampaignMeta

open class CampaignMeta

InAppCampaign meta data.

Author

Umang Chamaria

Constructors

CampaignMeta
Link copied to clipboard
open fun CampaignMeta(campaignId: String, campaignName: String, expiryTime: Long, lastUpdatedTime: Long, displayControl: DisplayControl, templateType: String, deliveryControl: DeliveryControl, @Nullable() trigger: Trigger, @Nullable() campaignContext: CampaignContext, @Nullable() inAppType: InAppType, @Nullable() supportedOrientations: Set<ScreenOrientation>)

Functions

equals
Link copied to clipboard
open fun equals(o: Any): Boolean
fromJson
Link copied to clipboard
open fun fromJson(metaJson: JSONObject): CampaignMeta
toJson
Link copied to clipboard
open fun toJson(meta: CampaignMeta): JSONObject
toString
Link copied to clipboard
open fun toString(): String

Properties

campaignContext
Link copied to clipboard
val campaignContext: CampaignContext
Campaign context attributes.
campaignId
Link copied to clipboard
val campaignId: String
Unique identifier for the campaign.
campaignName
Link copied to clipboard
val campaignName: String
Name of the campaign.
deliveryControl
Link copied to clipboard
val deliveryControl: DeliveryControl
Control the delivery parameters of the campaign.
displayControl
Link copied to clipboard
val displayControl: DisplayControl
Rules on displaying or dismissing the campaign.
expiryTime
Link copied to clipboard
val expiryTime: Long
Expiry time of the campaign.
inAppType
Link copied to clipboard
open val inAppType: InAppType
Type of InApp.
lastUpdatedTime
Link copied to clipboard
val lastUpdatedTime: Long
Last time the campaign was updated.
supportedOrientations
Link copied to clipboard
open val supportedOrientations: Set<ScreenOrientation>
List of supported screen orientations [LANDSCAPE, PORTRAIT].
templateType
Link copied to clipboard
val templateType: String
Type of template.
trigger
Link copied to clipboard
val trigger: Trigger
Condition on which the in-app should be triggered.