APSVASTAdBreakType

Objective-C

enum APSVASTAdBreakType {}

Swift

enum APSVASTAdBreakType : Int

Defines how an APSVASTAdBreak should be placed relative to the main content units.

  • Place the APSMediaUnits corresponding to the ad break at the beginning of the main content units.

    Declaration

    Objective-C

    APSVASTPreContent

    Swift

    case preContent = 0
  • Place the APSMediaUnits corresponding to the ad break at the end of the main content units.

    Declaration

    Objective-C

    APSVASTPostContent

    Swift

    case postContent = 1
  • Place the APSMediaUnits corresponding to the ad break in the middle of each main content unit, at a defined offset (see the adOffset property of APSVASTAdBreak).

    Declaration

    Objective-C

    APSVASTMidContent

    Swift

    case midContent = 2
  • Place the APSMediaOverlays corresponding to the ad break in the middle of each main content unit, ad a defined offset (see the adOffset property of APSVASTAdBreak).

    Declaration

    Objective-C

    APSVASTNonLinear

    Swift

    case nonLinear = 3