Packagecom.adobe.mediacore.timeline.advertising.policy
Classpublic final class AdBreakWatchedPolicy
InheritanceAdBreakWatchedPolicy Inheritance Object

Enumeration class for possible AdBreakWatched policies.



Public Methods
 MethodDefined By
  
isPolicySupported(policy:String):Boolean
[static] Checks if the specified policy is supported.
AdBreakWatchedPolicy
Public Constants
 ConstantDefined By
  NEVER : String = adBreakWatchedNever
[static] The ad break will never marked as watched.
AdBreakWatchedPolicy
  WATCHED_ON_BEGIN : String = adBreakWatchedOnBegin
[static] The ad break will be set as watched when the playback of any item within this ad break starts.
AdBreakWatchedPolicy
  WATCHED_ON_END : String = adBreakWatchedOnEnd
[static] The ad break will be set as watched when playback of the last item withing this ad break ends.
AdBreakWatchedPolicy
Method Detail
isPolicySupported()method
public static function isPolicySupported(policy:String):Boolean

Checks if the specified policy is supported.

Parameters

policy:String — Policy value to be checked.

Returns
Boolean — true if the policy is supported, false otherwise.
Constant Detail
NEVERConstant
public static const NEVER:String = adBreakWatchedNever

The ad break will never marked as watched.

WATCHED_ON_BEGINConstant 
public static const WATCHED_ON_BEGIN:String = adBreakWatchedOnBegin

The ad break will be set as watched when the playback of any item within this ad break starts.

WATCHED_ON_ENDConstant 
public static const WATCHED_ON_END:String = adBreakWatchedOnEnd

The ad break will be set as watched when playback of the last item withing this ad break ends.