Packagecom.adobe.mediacore.timeline.advertising.policy
Interfacepublic interface AdPolicySelector
Implementors DefaultAdPolicySelector



Public Methods
 MethodDefined By
  
Selects the ad break to be played.
AdPolicySelector
  
Selects the ad break policy for next ad break.
AdPolicySelector
  
Selects the ad policy.
AdPolicySelector
  
Selects the watched ad break policy.
AdPolicySelector
Method Detail
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.

Returns
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.

Returns
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.

Returns
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.

Returns
String — a valid AdBreakWatchedPolicy value.