-
- All Implemented Interfaces:
-
com.brightcove.dai.timeline.Timeline
public class DynamicTimeline extends AbstractTimeline
-
-
Method Summary
Modifier and Type Method Description long
getContentDuration()
It returns the content duration. long
getStreamDuration()
It returns the total duration of the video.It includes the duration of the content plus the duration of thestitched Ads. double
getTotalAdsDuration()
Returns the total duration of all the adsstitched in the stream void
updatePlayableWindow(long minimumPlayheadPosition, long maximumPlayheadPosition)
-
Methods inherited from class com.brightcove.dai.timeline.AbstractTimeline
addAd, getAds, getContentPosition, getCurrentAdPlaying, getStreamPosition, getType, isAdPlaying, isCuePointCrossed, reset, setAdIsPlaying, setCuePoints, setCurrentAdPlaying, setType
-
Methods inherited from class com.brightcove.dai.timeline.Timeline
setCurrentAdPlaying
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getContentDuration
long getContentDuration()
It returns the content duration. Also known as relative duration.This is the duration of the original content without the duration of thestitched Ads.
-
getStreamDuration
long getStreamDuration()
It returns the total duration of the video.It includes the duration of the content plus the duration of thestitched Ads.
-
getTotalAdsDuration
double getTotalAdsDuration()
Returns the total duration of all the adsstitched in the stream
-
updatePlayableWindow
void updatePlayableWindow(long minimumPlayheadPosition, long maximumPlayheadPosition)
-
-
-
-