Package | com.adobe.mediacore.timeline.advertising.policy |
Class | public final class AdBreakWatchedPolicy |
Inheritance | AdBreakWatchedPolicy ![]() |
Method | Defined By | ||
---|---|---|---|
isPolicySupported(policy:String):Boolean [static]
Checks if the specified policy is supported. | AdBreakWatchedPolicy |
Constant | Defined 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 |
isPolicySupported | () | method |
public static function isPolicySupported(policy:String):Boolean
Checks if the specified policy is supported.
Parameters
policy:String — Policy value to be checked.
|
Boolean — true if the policy is supported, false otherwise.
|
NEVER | Constant |
public static const NEVER:String = adBreakWatchedNever
The ad break will never marked as watched.
WATCHED_ON_BEGIN | Constant |
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_END | Constant |
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.