plays

open fun plays(init: Event.() -> Unit): Listener<Event, T>

occurs when the media has been started or is no longer paused

Return

a Listener that emits Events on its Flow

Parameters

init

expression to manipulate the event dispatching like calling stopPropagation or similar DOM-API.


open val plays: Listener<Event, T>

occurs when the media has been started or is no longer paused