Package | com.adobe.mediacore.timeline.advertising.policy |
Interface | public interface AdPolicySelector |
Implementors | DefaultAdPolicySelector |
Method | Defined By | ||
---|---|---|---|
Selects the ad break to be played. | AdPolicySelector | ||
selectPolicyForAdBreak(adPolicyInfo:AdPolicyInfo):String
Selects the ad break policy for next ad break. | AdPolicySelector | ||
selectPolicyForSeekIntoAd(adPolicyInfo:AdPolicyInfo):String
Selects the ad policy. | AdPolicySelector | ||
selectWatchedPolicyForAdBreak(adPolicyInfo:AdPolicyInfo):String
Selects the watched ad break policy. | AdPolicySelector |
selectAdBreaksToPlay | () | method |
public function selectAdBreaksToPlay(adPolicyInfo:AdPolicyInfo):Vector.<AdBreakTimelineItem>
Selects the ad break to be played.
Parameters
adPolicyInfo:AdPolicyInfo — Context for selecting the right policy.
|
Vector.<AdBreakTimelineItem> — a list of AdBreakTimelineItems to be played.
|
selectPolicyForAdBreak | () | method |
public function selectPolicyForAdBreak(adPolicyInfo:AdPolicyInfo):String
Selects the ad break policy for next ad break.
Parameters
adPolicyInfo:AdPolicyInfo — Context for selecting the right policy.
|
String — a valid AdBreakPolicy value.
|
selectPolicyForSeekIntoAd | () | method |
public function selectPolicyForSeekIntoAd(adPolicyInfo:AdPolicyInfo):String
Selects the ad policy.
Parameters
adPolicyInfo:AdPolicyInfo — Context for selecting the right policy.
|
String — a valid AdPolicy be value.
|
selectWatchedPolicyForAdBreak | () | method |
public function selectWatchedPolicyForAdBreak(adPolicyInfo:AdPolicyInfo):String
Selects the watched ad break policy.
Parameters
adPolicyInfo:AdPolicyInfo — Context for selecting the right policy.
|
String — a valid AdBreakWatchedPolicy value.
|