DisplayControl

data class DisplayControl(expireAt: Long, expireAfterSeen: Long, expireAfterDelivered: Long, maxCount: Long, isPinned: Boolean, showtime: Showtime)

Delivery Controls defined during campaign creation.

Author

Umang Chamaria Date: 29/04/20

Constructors

DisplayControl
Link copied to clipboard
fun DisplayControl(expireAt: Long, expireAfterSeen: Long, expireAfterDelivered: Long, maxCount: Long, isPinned: Boolean, showtime: Showtime)

Properties

expireAfterDelivered
Link copied to clipboard
val expireAfterDelivered: Long

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

expireAfterSeen
Link copied to clipboard
val expireAfterSeen: Long

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

expireAt
Link copied to clipboard
val expireAt: Long

Absolute time at which the card should be expired.

isPinned
Link copied to clipboard
val isPinned: Boolean

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

maxCount
Link copied to clipboard
val maxCount: Long

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

showtime
Link copied to clipboard
val showtime: Showtime

Time during the day when the campaign should be shown.