AI-generated Key Takeaways
-
MediaPauseEvent is an event data class for
pause
events from theMediaElement
. -
Its constructor
MediaPauseEvent(currentMediaTime, ended)
accepts optional numericalcurrentMediaTime
and booleanended
parameters. -
The
ended
property is a boolean indicating if the media ended when the pause event was fired.
cast.framework.events. MediaPauseEvent
Event data for pause
events forwarded from the MediaElement
.
Constructor
MediaPauseEvent
new MediaPauseEvent(currentMediaTime, ended)
Parameter |
|
---|---|
currentMediaTime |
Optional number |
ended |
Optional boolean |
Property
ended
boolean
Indicate if the media ended (indicates the pause was fired due to stream reached the end).