| Package | com.adobe.mediacore.timeline.advertising |
| Class | public class AdTimelineItem |
| Inheritance | AdTimelineItem TimelineItem Object |
| Property | Defined By | ||
|---|---|---|---|
| ad : Ad [read-only]
The ad associated with this item. | AdTimelineItem | ||
| adBreak : AdBreak [read-only]
The ad break containing the ad associated with this item. | AdTimelineItem | ||
![]() | id : uint [read-only]
Returns the timeline id associated with this item. | TimelineItem | |
![]() | 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 | |
![]() | 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 | ||
|---|---|---|---|
Default constructor. | AdTimelineItem | ||
equals(otherAdTimelineItem:AdTimelineItem):Boolean
Checks if is equal with other ad timeline item. | AdTimelineItem | ||
| ad | property |
| adBreak | property |
adBreak:AdBreak [read-only] The ad break containing the ad associated with this item.
public function get adBreak():AdBreak| AdTimelineItem | () | Constructor |
public function AdTimelineItem(id:uint, virtualRange:TimeRange, localRange:TimeRange, adBreak:AdBreak, ad:Ad)Default constructor.
Parametersid:uint — The timeline identifier associated with this item.
| |
virtualRange:TimeRange — The virtual timeline range associated with this item.
| |
localRange:TimeRange — The local timeline range associated with this item.
| |
adBreak:AdBreak — The ad break containing the ad associated with this item.
| |
ad:Ad — The ad associated with this item.
|
| equals | () | method |
public function equals(otherAdTimelineItem:AdTimelineItem):BooleanChecks if is equal with other ad timeline item. The placement information is ignored during comparison, only the adbreak and the ad are used.
Parameters
otherAdTimelineItem:AdTimelineItem — the other ad timeline item to be compared with.
|
Boolean — return true if both objects have the same ad break and the same ad, false otherwise.
|