SVSAdRule

constructor(minDuration: Long, maxDuration: Long, @NonNull adRuleDatas: Array<SVSAdRuleData>)

Constructor

Parameters

minDuration

minimum duration (in milliseconds) for a content video to match this rule

maxDuration

maximum duration (in milliseconds) for a content video to match this rule

adRuleDatas

an array of SVSAdRuleData objects defining the ad breaks of this ad rule


constructor(minDuration: Long, maxDuration: Long, @NonNull adRuleDatas: Array<SVSAdRuleData>, minimumDelayBetweenAdBreaks: Long)

Constructor

Parameters

minDuration

minimum duration (in milliseconds) for a content video to match this rule

maxDuration

maximum duration (in milliseconds) for a content video to match this rule

adRuleDatas

an array of SVSAdRuleData objects defining the ad breaks of this ad rule

minimumDelayBetweenAdBreaks

the minimum absolute time (in milliseconds) to respect between 2 consecutive ad breaks