timeupdatesIf

open fun timeupdatesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the playing position has changed (like when the user fast forwards to a different point in the media)

Return

a Listener that emits Events on its Flow

Parameters

selector

expression to evaluate, which specific event should be emitted to the Flow. It is also possible and encouraged to manipulate the event dispatching by calling stopPropagation or similar DOM-API.