Represents a group of ads.
While an ad break can contain both linear and non-linear ads, it is
recommended to keep them separated as some undefined placement behaviors
can occur if they are mixed.
ads:Vector.<Ad>
[read-only]
The ads contained in this ad break.
This method returns a copy of the internal vector - so it is
recommended to save the return value in a local variable and use
that instead. We do so for preventing accidental/unwanted modifications
of the ad vector.
Implementation public function get ads():Vector.<Ad>
duration:Number
[read-only]
The total duration of the ad break.
Is is calculated by adding the duration of all linear ads contained
within the ad break.
Implementation public function get duration():Number
firstAd:Ad
[read-only]
Implementation public function get firstAd():Ad
lastAd:Ad
[read-only]
Implementation public function get lastAd():Ad
public function AdBreak(ads:Vector.<Ad>)
Default constructor.
Parameters | ads:Vector.<Ad> — the ads which are grouped together.
|
public static function create(ads:Vector.<Ad>):AdBreak
Helper method for creating ad breaks.
Parameters
| ads:Vector.<Ad> — the ads which will be contained in this ad break.
|
Returns
Wed Apr 2 2014, 06:27 PM +03:00