AFCPlaybackSessionManager
class AFCPlaybackSessionManager(player: AdComposedPlayer, val configuration: AdFrequencyControlConfiguration = AdFrequencyControlConfiguration())
Creates and owns the AFC trackers for one playback session:
ContentConsumptionTracker measures main content consumption.
AdBreakExposureTracker measures ad break exposure. It is a terminal observer that registers on the player's ad chain and forwards nothing.
The global AFC counter is preserved across playbacks — detaching one playback never resets it.
Parameters
player
the ad-composed player for this playback. It supplies com.quickplay.vstb7.player.ad.AdComposedPlayer.playerContext, which the content tracker needs to exclude ad and promo time, and owns the ad listener list this integration registers on.
configuration
the AFC policy; applied to the process-global AdFrequencyControl on initialization.
Constructors
Link copied to clipboard
constructor(player: AdComposedPlayer, configuration: AdFrequencyControlConfiguration = AdFrequencyControlConfiguration())
Properties
Link copied to clipboard
The AdEventListener registered on player for measuring ad break exposure.
Link copied to clipboard