Packagecom.adobe.mediacore.timeline.advertising
Classpublic class AdBreakTimelineItem
InheritanceAdBreakTimelineItem Inheritance TimelineItem Inheritance Object
Implements TimelineMarker

Timeline item associated with the specific ad break.



Public Properties
 PropertyDefined By
  adBreak : AdBreak
[read-only] Returns the ad break items associated with this item.
AdBreakTimelineItem
  duration : Number
[read-only] The duration (in seconds) of the marker
AdBreakTimelineItem
 Inheritedid : uint
[read-only] Returns the timeline id associated with this item.
TimelineItem
  items : Vector.<AdTimelineItem>
[read-only] Returns the timeline items associated with this ad break.
AdBreakTimelineItem
 InheritedlocalRange : TimeRange
[read-only] Returns the local timeline range associated with this item.
TimelineItem
 Inheritedtemporary : Boolean
[read-only] Flag indicating if the timeline item is temporary or not.
TimelineItem
  time : Number
[read-only] The time (in seconds) at which the marker occurs
AdBreakTimelineItem
 InheritedvirtualRange : TimeRange
[read-only] Returns the virtual timeline range associated with this item.
TimelineItem
 Inheritedwatched : Boolean
[read-only] Flag indicating if the timeline item was watched or not.
TimelineItem
Public Methods
 MethodDefined By
  
AdBreakTimelineItem(id:uint, items:Vector.<AdTimelineItem>)
Default constructor.
AdBreakTimelineItem
  
create(id:uint, items:Vector.<AdTimelineItem>):AdBreakTimelineItem
[static] Helper method for creating ad break timeline item.
AdBreakTimelineItem
Property Detail
adBreakproperty
adBreak:AdBreak  [read-only]

Returns the ad break items associated with this item.


Implementation
    public function get adBreak():AdBreak
durationproperty 
duration:Number  [read-only]

The duration (in seconds) of the marker


Implementation
    public function get duration():Number
itemsproperty 
items:Vector.<AdTimelineItem>  [read-only]

Returns the timeline items associated with this ad break. This method returns a copy of the internal list to prevent accidental modifications.


Implementation
    public function get items():Vector.<AdTimelineItem>
timeproperty 
time:Number  [read-only]

The time (in seconds) at which the marker occurs


Implementation
    public function get time():Number
Constructor Detail
AdBreakTimelineItem()Constructor
public function AdBreakTimelineItem(id:uint, items:Vector.<AdTimelineItem>)

Default constructor.

Parameters
id:uint — The ad break identifier on the timeline.
 
items:Vector.<AdTimelineItem> — The contained timeline items.
Method Detail
create()method
public static function create(id:uint, items:Vector.<AdTimelineItem>):AdBreakTimelineItem

Helper method for creating ad break timeline item.

Parameters

id:uint — The ad break identifier on the timeline.
 
items:Vector.<AdTimelineItem> — The contained timeline items.

Returns
AdBreakTimelineItem — a valid AdBreakTimelineItem instance.
update()method 
PSDKInternal function update():void

Updates the ad break timeline item to reflect any change if contain items reanges.