Package 

Class NoAdSeekStrategy

  • All Implemented Interfaces:
    com.brightcove.ssai.seek.AdSelectionStrategy

    
    public class NoAdSeekStrategy
     implements AdSelectionStrategy
                        

    Ignore the ads found between the start and end position.

    • Method Summary

      Modifier and Type Method Description
      Queue<AdPod> selectAdPods(@NonNull() Timeline timeline, long absoluteStartSeekPosition, long absoluteEndSeekPosition) Selects which ad pods must be played from those found between start seek position andend seek position.
      • Methods inherited from class com.brightcove.ssai.seek.AdSelectionStrategy

        selectAdPods
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • selectAdPods

        @NonNull() Queue<AdPod> selectAdPods(@NonNull() Timeline timeline, long absoluteStartSeekPosition, long absoluteEndSeekPosition)

        Selects which ad pods must be played from those found between start seek position andend seek position.

        Parameters:
        timeline - the timeline
        absoluteStartSeekPosition - the absolute start seek position
        absoluteEndSeekPosition - the absolute end seek position