Class: MediaPauseEvent

  • MediaPauseEvent is an event data class for pause events from the MediaElement.

  • Its constructor MediaPauseEvent(currentMediaTime, ended) accepts optional numerical currentMediaTime and boolean ended parameters.

  • The ended property is a boolean indicating if the media ended when the pause event was fired.

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).