| Package | com.adobe.mediacore |
| Class | public class DefaultAdPolicySelector |
| Inheritance | DefaultAdPolicySelector Object |
| Implements | AdPolicySelector |
| Method | Defined By | ||
|---|---|---|---|
Default constructor. | DefaultAdPolicySelector | ||
Selects the ad break to be played. | DefaultAdPolicySelector | ||
selectPolicyForAdBreak(adPolicyInfo:AdPolicyInfo):String
Selects the ad break policy for next ad break. | DefaultAdPolicySelector | ||
selectPolicyForSeekIntoAd(adPolicyInfo:AdPolicyInfo):String
Selects the ad policy. | DefaultAdPolicySelector | ||
selectWatchedPolicyForAdBreak(adPolicyInfo:AdPolicyInfo):String
Selects the watched ad break policy. | DefaultAdPolicySelector | ||
| DefaultAdPolicySelector | () | Constructor |
public function DefaultAdPolicySelector(item:MediaPlayerItem)Default constructor.
Parametersitem:MediaPlayerItem — Media player item associated with this policy selector.
|
| 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):StringSelects 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):StringSelects 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):StringSelects the watched ad break policy.
Parameters
adPolicyInfo:AdPolicyInfo — Context for selecting the right policy.
|
String — a valid AdBreakWatchedPolicy value.
|