Package-level declarations
Types
Terminal AdEventListener that measures how much of each ad break is actually watched, across single ads and multi-ad pods.
Process-level AFC policy owner. One global counter shared across all playbacks: stopping one playback and starting another preserves the accumulated consumption.
Policy configuration for Ad Frequency Control (AFC).
Value-only events used to update AFC state. Single global counter across all playbacks.
Listener interface extending IMA's AdEvent.AdEventListener to receive AFC policy event callbacks.
Creates and owns the AFC trackers for one playback session:
Tracks valid main content consumption and publishes AdFrequencyEvent domain events.
Clock providing monotonically non-decreasing timestamps for content consumption validation.