lib / tv.spotx.smartclientandroid.lib.instream / SxInstreamPlayerDelegate / onContentVideoSought

onContentVideoSought

open suspend fun onContentVideoSought(remainingAdSlots: List<SxSequencerAdSlot>, removedAdSlots: List<SxSequencerAdSlot>): List<SxSequencerAdSlot>

Is called when a seek of the content video was detected. It allows to change the remaining advertisement slots.

Parameters

remainingAdSlots - Advertisement slots that remain in the queue.

removedAdSlots - Advertisement slots that where removed from the queue.

Return
The remaining advertisement slots. Return remainingAdSlots to not change the queue.