DwellEntry class
Measures how long an experience was on screen — the dwell_ms recorded on
dismiss/complete analytics events.
markViewed stamps the view time keyed by cepCampaignId; consumeDwellMs
reads the elapsed time and forgets the mark in one step (the typical dismiss
path), while elapsedMs peeks without forgetting.
Mirrors Android's DwellTracker.
Constructors
- DwellEntry({int accumulatedMs = 0, int? lastResumedAtMs})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited