AdPlaybackPolicy

Policy rules for Ads handling.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
annotation class PlaybackAutoSeekRule

Rules that enforce ad playback policy when a 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.

Link copied to clipboard
annotation class PlaybackFastForwardRule

Rules that enforce ad playback policy when a user performs fast forward operation.

Link copied to clipboard
annotation class PlaybackInterruptedRule

Rules that enforce ad playback policy when the playback is interrupted.

Link copied to clipboard
annotation class PlaybackRepeatedRule

Rules that enforce ad playback for repeated ad playback in a single playback session.

Link copied to clipboard
annotation class PlaybackRewindRule

Rules that enforce ad playback policy when a user performs rewind operation.

Properties

Link copied to clipboard
abstract val autoSeekRule: Int
Link copied to clipboard
abstract val fastForwardRule: Int
Link copied to clipboard
abstract val interruptRule: Int
Link copied to clipboard
abstract val repeatRule: Int
Link copied to clipboard
abstract val rewindRule: Int

Functions

Link copied to clipboard
abstract fun setAdPlaybackRules(fastForwardRule: Int = TRICK_FW_PLAY_ALL, rewindRule: Int = TRICK_RW_PLAY_ALL, interruptRule: Int = INTERRUPT_RESUME, autoSeekRule: Int = AUTO_SEEK_PLAY_ALL, repeatRule: Int = REPEAT_PLAY_ONCE)

Sets ad playback policy rules.