Packagecom.adobe.mediacore.timeline.advertising
Classpublic class AdTimelineItem
InheritanceAdTimelineItem Inheritance TimelineItem Inheritance Object

Timeline item associated with a specific ad.



Public Properties
 PropertyDefined 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
 Inheritedid : uint
[read-only] Returns the timeline id associated with this item.
TimelineItem
 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
 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
  
AdTimelineItem(id:uint, virtualRange:TimeRange, localRange:TimeRange, adBreak:AdBreak, ad:Ad)
Default constructor.
AdTimelineItem
  
equals(otherAdTimelineItem:AdTimelineItem):Boolean
Checks if is equal with other ad timeline item.
AdTimelineItem
Property Detail
adproperty
ad:Ad  [read-only]

The ad associated with this item.


Implementation
    public function get ad():Ad
adBreakproperty 
adBreak:AdBreak  [read-only]

The ad break containing the ad associated with this item.


Implementation
    public function get adBreak():AdBreak
Constructor Detail
AdTimelineItem()Constructor
public function AdTimelineItem(id:uint, virtualRange:TimeRange, localRange:TimeRange, adBreak:AdBreak, ad:Ad)

Default constructor.

Parameters
id: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.
Method Detail
equals()method
public function equals(otherAdTimelineItem:AdTimelineItem):Boolean

Checks 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.

Returns
Boolean — return true if both objects have the same ad break and the same ad, false otherwise.