| Package | com.adobe.mediacore.timeline.advertising |
| Class | public class AdBreakTimelineItem |
| Inheritance | AdBreakTimelineItem TimelineItem Object |
| Implements | TimelineMarker |
| Property | Defined 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 | ||
![]() | id : 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 | ||
![]() | localRange : TimeRange [read-only]
Returns the local timeline range associated with this item. | TimelineItem | |
![]() | temporary : 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 | ||
![]() | virtualRange : TimeRange [read-only]
Returns the virtual timeline range associated with this item. | TimelineItem | |
![]() | watched : Boolean [read-only]
Flag indicating if the timeline item was watched or not. | TimelineItem | |
| Method | Defined By | ||
|---|---|---|---|
AdBreakTimelineItem(id:uint, items:Vector.<AdTimelineItem>)
Default constructor. | AdBreakTimelineItem | ||
[static]
Helper method for creating ad break timeline item. | AdBreakTimelineItem | ||
| adBreak | property |
adBreak:AdBreak [read-only] Returns the ad break items associated with this item.
public function get adBreak():AdBreak| duration | property |
duration:Number [read-only] The duration (in seconds) of the marker
public function get duration():Number| items | property |
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.
public function get items():Vector.<AdTimelineItem>| time | property |
time:Number [read-only] The time (in seconds) at which the marker occurs
public function get time():Number| AdBreakTimelineItem | () | Constructor |
public function AdBreakTimelineItem(id:uint, items:Vector.<AdTimelineItem>)Default constructor.
Parametersid:uint — The ad break identifier on the timeline.
| |
items:Vector.<AdTimelineItem> — The contained timeline items.
|
| create | () | method |
public static function create(id:uint, items:Vector.<AdTimelineItem>):AdBreakTimelineItemHelper method for creating ad break timeline item.
Parameters
id:uint — The ad break identifier on the timeline.
| |
items:Vector.<AdTimelineItem> — The contained timeline items.
|
AdBreakTimelineItem — a valid AdBreakTimelineItem instance.
|
| update | () | method |
PSDKInternal function update():voidUpdates the ad break timeline item to reflect any change if contain items reanges.