OOSeekMode
Objective-C
enum OOSeekMode : NSUInteger {}
Swift
enum OOSeekMode : UInt, @unchecked Sendable
Modes you can set in the OORequestSettings.seekMode
property which determine
how the session behaves when a viewer seeks past one or more midroll ad breaks.
-
Do not enforce midroll ad breaks to be played. This is the default.
Declaration
Objective-C
IGNORE = 0
Swift
case IGNORE = 0
-
If the viewer seeks past one or more ad breaks, the first one is played before content resumes.
Declaration
Objective-C
PLAY_FIRST_AD = 1
Swift
case PLAY_FIRST_AD = 1
-
If the viewer seeks past one or more ad breaks, the last one is played before content resumes.
Declaration
Objective-C
PLAY_LAST_AD = 2
Swift
case PLAY_LAST_AD = 2
-
If the viewer seeks past one or more ad breaks, all of them are played before content resumes.
Declaration
Objective-C
PLAY_ALL_ADS = 3
Swift
case PLAY_ALL_ADS = 3