ChainingConfig

data class ChainingConfig(val enabled: Boolean, val maxGapSeconds: Double)

Consecutive-break chaining (OptiViewAdsConfig.chaining): when one break ends and the next starts within maxGapSeconds, the SDK plays the next break at once instead of resuming content for the gap.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, maxGapSeconds: Double)

Properties

Link copied to clipboard

Whether chaining is on.

Link copied to clipboard

The largest gap in seconds between two breaks that still chains them.