OOAdBreakType

Objective-C

enum OOAdBreakType : NSUInteger {}

Swift

enum OOAdBreakType : UInt, @unchecked Sendable

Ad break positions which can be read from OOPulseAdBreak.

  • The ad break plays before the main content.

    Declaration

    Objective-C

    PREROLL

    Swift

    case PREROLL = 0
  • The ad break plays during the main content.

    Declaration

    Objective-C

    MIDROLL

    Swift

    case MIDROLL = 1
  • The ad break plays at the end of the main content.

    Declaration

    Objective-C

    POSTROLL

    Swift

    case POSTROLL = 2