waitingsIf

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

occurs when the media has paused but is expected to resume (like when the media pauses to buffer more data)

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.