DisplayControl

@Serializable
data class DisplayControl

Delivery Controls defined during campaign creation.

Author

Umang Chamaria

Since

1.0.0

Parameters

expireAt

Absolute time at which the card should be expired.

expireAfterSeen

Time duration after which card should be expired once it is seen.

expireAfterDelivered

Time duration after which the card should be expired once it is delivered on the device.

maxCount

Maximum number of times a campaign should be shown to the user across devices.

isPinned

True if the campaign is pinned on top, else false.

showtime

Time during the day when the campaign should be shown.

Properties

Link copied to clipboard
@SerialName(value = "expire_after_delivered")
val expireAfterDelivered: Long
Link copied to clipboard
@SerialName(value = "expire_after_seen")
val expireAfterSeen: Long
Link copied to clipboard
@SerialName(value = "expire_at")
val expireAt: Long
Link copied to clipboard
@SerialName(value = "is_pin")
val isPinned: Boolean = false
Link copied to clipboard
@SerialName(value = "max_times_to_show")
val maxCount: Long
Link copied to clipboard
@SerialName(value = "show_time")
val showtime: Showtime