Package | com.adobe.mediacore.timeline |
Interface | public interface Timeline |
Property | Defined By | ||
---|---|---|---|
timelineItems : Vector.<AdTimelineItem> [read-only]
Returns the current timeline items. | Timeline | ||
timelineMarkers : Vector.<TimelineMarker> [read-only]
Returns the current timeline markers. | Timeline |
Method | Defined By | ||
---|---|---|---|
convertToLocalTime(time:Number):Number
Calculate the local time which maps to the specified virtual time. | Timeline | ||
convertToVirtualTime(time:Number):Number
Calculate the virtual time which maps to the specified local time. | Timeline |
timelineItems | property |
timelineItems:Vector.<AdTimelineItem>
[read-only] Returns the current timeline items. This method returns a copy of the internal list to prevent accidental modifications of the list.
public function get timelineItems():Vector.<AdTimelineItem>
timelineMarkers | property |
timelineMarkers:Vector.<TimelineMarker>
[read-only] Returns the current timeline markers. This method returns a copy of the internal list to prevent accidental modifications of the list.
public function get timelineMarkers():Vector.<TimelineMarker>
convertToLocalTime | () | method |
public function convertToLocalTime(time:Number):Number
Calculate the local time which maps to the specified virtual time. If there are no ads inserted on the timeline, then the local time and virtual time are the same.
Parameters
time:Number — Virtual time which needs to be mapped.
|
Number — returns local time.
|
convertToVirtualTime | () | method |
public function convertToVirtualTime(time:Number):Number
Calculate the virtual time which maps to the specified local time. If there are no ads inserted on the timeline, then the local time and virtual time are the same.
Parameters
time:Number — Local time which needs to be mapped.
|
Number — returns virtual time.
|