Player Module
/
com.bitmovin.player
/
PlayerView
/
on
on
open override fun <
E
:
Event
>
on
(eventClass:
KClass
<
E
>, action: (
E
) ->
Unit
)
Content copied to clipboard
Subscribes the
action
to be executed when an event of type
E
is emitted.