OOInsertionPointType
Objective-C
enum OOInsertionPointType : NSUInteger {}
                Swift
struct OOInsertionPointType : OptionSet, @unchecked Sendable
                Options for types you can set in the OORequestSettings.insertionPointFilter
property. These determine when the received ads are to be played.
- 
                  
                  
The default, which will include all types.
Declaration
Objective-C
OOInsertionPointTypeAll = 0 - 
                  
                  
Request ads to be played before the content, or ‘preroll’ ads.
Declaration
Objective-C
OOInsertionPointTypeOnBeforeContent = 1 << 0Swift
static var onBeforeContent: OOInsertionPointType { get } - 
                  
                  
Request midroll ads and/or overlay ads, to be played at the positions specified in linearPlaybackPositions and nonlinearPlaybackPositions respectively.
Declaration
Objective-C
OOInsertionPointTypePlaybackPosition = 1 << 1Swift
static var playbackPosition: OOInsertionPointType { get } - 
                  
                  
Request ads to be played after the content, or ‘postroll’ ads.
Declaration
Objective-C
OOInsertionPointTypeOnContentEnd = 1 << 2Swift
static var onContentEnd: OOInsertionPointType { get } - 
                  
                  
Request ads to be played when the content is paused.
Declaration
Objective-C
OOInsertionPointTypeOnPause = 1 << 3Swift
static var onPause: OOInsertionPointType { get } - 
                  
                  
Request overlay ads to be displayed; based on the content duration, which must which must be specified as well.
Declaration
Objective-C
OOInsertionPointTypePlaybackTime = 1 << 4Swift
static var playbackTime: OOInsertionPointType { get }