setAdPlaybackRules

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.

Parameters

fastForwardRule

one of PlaybackFastForwardRule rules. Defaults to TRICK_FW_PLAY_ALL rule.

rewindRule

one of PlaybackRewindRule rules. Defaults to TRICK_RW_PLAY_ALL rule.

interruptRule

one of PlaybackInterruptedRule rules. Defaults to INTERRUPT_RESUME rule.

autoSeekRule

one of PlaybackAutoSeekRule rules. Defaults to AUTO_SEEK_PLAY_ALL rule.

repeatRule

one of PlaybackRepeatedRule rules. Defaults to REPEAT_PLAY_ONCE rule.