BroadpeakAdsPlaybackPolicy

A concrete implementation of AdPlaybackPolicy for Broadpeak Server-Side Ad Insertion (SSAI).

This class defines the behavior for handling various user interactions during ad playback, such as fast-forwarding, rewinding, interruptions, seeking, and repeating content. It holds the current rules and allows them to be updated dynamically.

The default behavior is generally set to play all ads under most conditions to comply with typical ad-supported business rules. For example, fast-forwarding over an ad break will still result in the ads being played.

See also

for detailed descriptions of the rules and their possible values.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val autoSeekRule: Int
Link copied to clipboard
open override val fastForwardRule: Int
Link copied to clipboard
open override val interruptRule: Int
Link copied to clipboard
open override val repeatRule: Int
Link copied to clipboard
open override val rewindRule: Int

Functions

Link copied to clipboard
open override fun setAdPlaybackRules(fastForwardRule: Int, rewindRule: Int, interruptRule: Int, autoSeekRule: Int, repeatRule: Int)