OMIDPosition
Objective-C
enum OMIDPosition : NSUInteger {}
Swift
enum OMIDPosition : UInt, @unchecked Sendable
List of supported media player positions.
-
The ad plays preceding video content.
Declaration
Objective-C
OMIDPositionPreroll
Swift
case preroll = 0
-
The ad plays in the middle of video content, or between two separate content videos.
Declaration
Objective-C
OMIDPositionMidroll
Swift
case midroll = 1
-
The ad plays following video content.
Declaration
Objective-C
OMIDPositionPostroll
Swift
case postroll = 2
-
The ad plays independently of any video content.
Declaration
Objective-C
OMIDPositionStandalone
Swift
case standalone = 3