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
APSVASTPreContentSwift
case preContent = 0 -
Place the
APSMediaUnits corresponding to the ad break at the end of the main content units.Declaration
Objective-C
APSVASTPostContentSwift
case postContent = 1 -
Place the
APSMediaUnits corresponding to the ad break in the middle of each main content unit, at a defined offset (see theadOffsetproperty ofAPSVASTAdBreak).Declaration
Objective-C
APSVASTMidContentSwift
case midContent = 2 -
Place the
APSMediaOverlays corresponding to the ad break in the middle of each main content unit, ad a defined offset (see theadOffsetproperty ofAPSVASTAdBreak).Declaration
Objective-C
APSVASTNonLinearSwift
case nonLinear = 3
APSVASTAdBreakType Enumeration Reference