Class SinglePeriodAdTimeline

    • Constructor Detail

      • SinglePeriodAdTimeline

        public SinglePeriodAdTimeline​(Timeline contentTimeline,
                                      AdPlaybackState adPlaybackState)
        Creates a new timeline with a single period containing ads.
        Parameters:
        contentTimeline - The timeline of the content alongside which ads will be played. It must have one window and one period.
        adPlaybackState - The state of the period's ads.