AdBreaksManager

public class AdBreaksManager

The AdBreaksManager class is responsible for managing ad breaks within the media content.

This class interacts with an ads plugin to track and handle ad breaks during media playback. It provides properties to access all scheduled ad breaks and the currently active ad break, as well as a time converter for translating content time to stream time and vice versa.

  • all scheduled ad breaks

    Declaration

    Swift

    public var adBreaks: [AdBreak]? { get }
  • currently active ad break

    Declaration

    Swift

    public var activeAdBreak: AdBreak? { get }