AI-generated Key Takeaways
-
MediaPauseEvent is an event data class for
pauseevents from theMediaElement. -
Its constructor
MediaPauseEvent(currentMediaTime, ended)accepts optional numericalcurrentMediaTimeand booleanendedparameters. -
The
endedproperty 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).