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 << 0
Swift
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 << 1
Swift
static var playbackPosition: OOInsertionPointType { get }
-
Request ads to be played after the content, or ‘postroll’ ads.
Declaration
Objective-C
OOInsertionPointTypeOnContentEnd = 1 << 2
Swift
static var onContentEnd: OOInsertionPointType { get }
-
Request ads to be played when the content is paused.
Declaration
Objective-C
OOInsertionPointTypeOnPause = 1 << 3
Swift
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 << 4
Swift
static var playbackTime: OOInsertionPointType { get }