| Package | com.adobe.mediacore.content.advertising |
| Class | public final class AdBreak |
| Inheritance | AdBreak Object |
| Implements | TimelineMarker |
| Property | Defined By | ||
|---|---|---|---|
| ads : Vector.<Ad> [read-only]
The ads inside the ad break
| AdBreak | ||
| duration : Number [read-only] | AdBreak | ||
| id : String [read-only]
Unique ID of the ad break
| AdBreak | ||
| replacedDuration : Number [read-only]
The duration of the replaced content. | AdBreak | ||
| time : Number [read-only] | AdBreak | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor. | AdBreak | ||
getAdForTime(time:Number):Ad
Returns the ad that should be played at the specified time. | AdBreak | ||
| ads | property |
ads:Vector.<Ad> [read-only] The ads inside the ad break
public function get ads():Vector.<Ad>| duration | property |
duration:Number [read-only] public function get duration():Number| id | property |
id:String [read-only] Unique ID of the ad break
public function get id():String| replacedDuration | property |
replacedDuration:Number [read-only] The duration of the replaced content.
public function get replacedDuration():Number| time | property |
time:Number [read-only] public function get time():Number| AdBreak | () | Constructor |
public function AdBreak(ads:Vector.<Ad>, time:Number, replacedDuration:Number)Constructor.
Parametersads:Vector.<Ad> | |
time:Number | |
replacedDuration:Number |
| getAdForTime | () | method |
public function getAdForTime(time:Number):AdReturns the ad that should be played at the specified time.
Parameters
time:Number |
Ad |