Packagecom.adobe.mediacore.content.advertising
Classpublic final class AdBreak
InheritanceAdBreak Inheritance Object
Implements TimelineMarker

Describes an ad break, with ads inside it



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
AdBreak(ads:Vector.<Ad>, time:Number, replacedDuration:Number)
Constructor.
AdBreak
  
getAdForTime(time:Number):Ad
Returns the ad that should be played at the specified time.
AdBreak
Property Detail
adsproperty
ads:Vector.<Ad>  [read-only]

The ads inside the ad break


Implementation
    public function get ads():Vector.<Ad>
durationproperty 
duration:Number  [read-only]


Implementation
    public function get duration():Number
idproperty 
id:String  [read-only]

Unique ID of the ad break


Implementation
    public function get id():String
replacedDurationproperty 
replacedDuration:Number  [read-only]

The duration of the replaced content.


Implementation
    public function get replacedDuration():Number
timeproperty 
time:Number  [read-only]


Implementation
    public function get time():Number
Constructor Detail
AdBreak()Constructor
public function AdBreak(ads:Vector.<Ad>, time:Number, replacedDuration:Number)

Constructor.

Parameters
ads:Vector.<Ad>
 
time:Number
 
replacedDuration:Number
Method Detail
getAdForTime()method
public function getAdForTime(time:Number):Ad

Returns the ad that should be played at the specified time.

Parameters

time:Number

Returns
Ad