PlaybackAutoSeekRule
public enum PlaybackAutoSeekRule : String, Codable, CaseIterable
Rules that enforce ad playback policy when the user has a “bookmarked” time for a piece of content, then plays the content again, and the player auto-seeking to the bookmark triggers the ads.
-
Policy value enforcing the rule that the player will start the content without forcing the user to watch any ads that are available from the start of the content to the bookmarked time. Ad breaks encountered later in the playback will still be handled according to the
PlaybackFastForwardRulepolicy value.Declaration
Swift
case AUTO_SEEK_SKIP_ALL -
Policy value enforcing the rule that the player will force the user to watch the
AdContentTimePosition.PREROLLads, while anyAdContentTimePosition.MIDROLLads, that are available from the start of the content to the bookmarked time, will be skipped.Declaration
Swift
case AUTO_SEEK_PLAY_PREROLL -
Policy value enforcing the rule that the player will force a user to watch at least one
AdContentTimePosition.MIDROLLad, while theAdContentTimePosition.PREROLLads will be skipped. Whether the user has to watch all triggeredAdContentTimePosition.MIDROLLads, or only one, is determined by thePlaybackFastForwardRulepolicy value.Declaration
Swift
case AUTO_SEEK_PLAY_MIDROLL -
Policy value enforcing the rule that the player will force a user to watch the
AdContentTimePosition.PREROLLads, then one or moreAdContentTimePosition.MIDROLLads. Whether the user has to watch all triggeredAdContentTimePosition.MIDROLLads, or only one, is determined by thePlaybackFastForwardRulepolicy value.Declaration
Swift
case AUTO_SEEK_PLAY_ALL -
Policy value enforcing the rule that the player will force the user to watch the
AdContentTimePosition.PREROLLif content bookmarked time within theAdContentTimePosition.MIDROLLads or if content bookmarked time beyondAdContentTimePosition.MIDROLLads automatically it will play last ads ofAdContentTimePosition.MIDROLLDeclaration
Swift
case AUTO_SEEK_PLAY_LAST