IVSAdBreakRollType

Objective-C

enum IVSAdBreakRollType : NSInteger {}

Swift

enum RollType : Int, @unchecked Sendable

Type of ad break.

Note

This API is in beta and may change.
  • Preroll ad break, plays before content.

    Declaration

    Objective-C

    IVSAdBreakRollTypePreroll

    Swift

    case preroll = 0
  • Midroll ad break, plays during content.

    Declaration

    Objective-C

    IVSAdBreakRollTypeMidroll

    Swift

    case midroll = 1
  • Postroll ad break, plays after content.

    Declaration

    Objective-C

    IVSAdBreakRollTypePostroll

    Swift

    case postroll = 2
  • Unknown roll type.

    Declaration

    Objective-C

    IVSAdBreakRollTypeUnknown

    Swift

    case unknown = 3