CampaignState

data class CampaignState(localShowCount: Long, isClicked: Boolean, firstReceived: Long, firstSeen: Long, totalShowCount: Long)

State of the card.

Author

Umang Chamaria Date: 27/04/20

Constructors

CampaignState
Link copied to clipboard
fun CampaignState(localShowCount: Long, isClicked: Boolean, firstReceived: Long, firstSeen: Long, totalShowCount: Long)

Properties

firstReceived
Link copied to clipboard
val firstReceived: Long

First Time the card was received.

firstSeen
Link copied to clipboard
var firstSeen: Long

First Time the card was seen by the user.

isClicked
Link copied to clipboard
var isClicked: Boolean

True if the user has clicked the card, else false.

localShowCount
Link copied to clipboard
var localShowCount: Long

Number of times card shown on the current device

totalShowCount
Link copied to clipboard
var totalShowCount: Long

Total number of times campaign has been seen by the user across devices.