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 PlaybackFastForwardRule policy value.

    Declaration

    Swift

    case AUTO_SEEK_SKIP_ALL
  • Policy value enforcing the rule that the player will force the user to watch the AdContentTimePosition.PREROLL ads, while any AdContentTimePosition.MIDROLL ads, 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.MIDROLL ad, while the AdContentTimePosition.PREROLL ads will be skipped. Whether the user has to watch all triggered AdContentTimePosition.MIDROLL ads, or only one, is determined by the PlaybackFastForwardRule policy 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 more AdContentTimePosition.MIDROLL ads. Whether the user has to watch all triggered AdContentTimePosition.MIDROLL ads, or only one, is determined by the PlaybackFastForwardRule policy value.

    Declaration

    Swift

    case AUTO_SEEK_PLAY_ALL
  • Policy value enforcing the rule that the player will force the user to watch the AdContentTimePosition.PREROLL if content bookmarked time within the AdContentTimePosition.MIDROLL ads or if content bookmarked time beyond AdContentTimePosition.MIDROLL ads automatically it will play last ads of AdContentTimePosition.MIDROLL

    Declaration

    Swift

    case AUTO_SEEK_PLAY_LAST