cast.framework.events. ClipEndedEvent
class static
Event data for the cast.framework.events.EventType.CLIP_ENDED
event.
Constructor
ClipEndedEvent
new ClipEndedEvent(currentMediaTime, endedReason)
Parameter |
|
---|---|
currentMediaTime |
number |
endedReason |
Optional cast.framework.events.EndedReason The reason the clip ended Value must not be null. |
Properties
currentMediaTime
constant
number
The time in media (in seconds) when clip ended.
endedReason
constant
(non-null cast.framework.events.EndedReason or undefined)
The reason the clip ended.