endeds

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

occurs when the media has reach the end (useful for messages like "thanks for listening")

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 endeds: Listener<Event, T>

occurs when the media has reach the end (useful for messages like "thanks for listening")