Package com.brightcove.ssai.seek
Class NoAdSeekStrategy
java.lang.Object
com.brightcove.ssai.seek.NoAdSeekStrategy
- All Implemented Interfaces:
AdSelectionStrategy
Ignore the ads found between the start and end position.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionselectAdPods
(Timeline timeline, long absoluteStartSeekPosition, long absoluteEndSeekPosition) Selects which ad pods must be played from those found between start seek position and end seek position.
-
Constructor Details
-
NoAdSeekStrategy
public NoAdSeekStrategy()
-
-
Method Details
-
selectAdPods
@NonNull public Queue<AdPod> selectAdPods(@NonNull Timeline timeline, long absoluteStartSeekPosition, long absoluteEndSeekPosition) Description copied from interface:AdSelectionStrategy
Selects which ad pods must be played from those found between start seek position and end seek position.- Specified by:
selectAdPods
in interfaceAdSelectionStrategy
- Parameters:
timeline
- the timelineabsoluteStartSeekPosition
- the absolute start seek positionabsoluteEndSeekPosition
- the absolute end seek position- Returns:
- the queue
-