APSVASTAdBreakType
Objective-C
enum APSVASTAdBreakType {}
Swift
enum APSVASTAdBreakType : Int
Defines how an APSVASTAdBreak
should be placed relative to the main content units.
-
Place the
APSMediaUnit
s corresponding to the ad break at the beginning of the main content units.Declaration
Objective-C
APSVASTPreContent
Swift
case preContent = 0
-
Place the
APSMediaUnit
s corresponding to the ad break at the end of the main content units.Declaration
Objective-C
APSVASTPostContent
Swift
case postContent = 1
-
Place the
APSMediaUnit
s corresponding to the ad break in the middle of each main content unit, at a defined offset (see theadOffset
property ofAPSVASTAdBreak
).Declaration
Objective-C
APSVASTMidContent
Swift
case midContent = 2
-
Place the
APSMediaOverlay
s corresponding to the ad break in the middle of each main content unit, ad a defined offset (see theadOffset
property ofAPSVASTAdBreak
).Declaration
Objective-C
APSVASTNonLinear
Swift
case nonLinear = 3