lib / tv.smartclip.smartclientandroid.lib.dto.sequencer / SxSequencerDynamicPosition / value

value

val value: (position: Long, duration: Long) -> Boolean

Lambda that is invoked four timed per second when a content video is active, to determine the start of the advertisement. The Lambda has two parameters of type Long: position and duration of the current content video in milliseconds. Return true to start the corresponding ad slot. false otherwise.

Property

value - Lambda that is invoked four timed per second when a content video is active, to determine the start of the advertisement. The Lambda has two parameters of type Long: position and duration of the current content video in milliseconds. Return true to start the corresponding ad slot. false otherwise.