Время окончания воспроизведения мультимедиа (в секундах). Для элемента в очереди это значение представляет время в воспроизводимом в данный момент элементе очереди (где 0 означает, что элемент очереди только что начался).
[null,null,["Последнее обновление: 2024-10-30 UTC."],[[["`MediaFinishedEvent` provides data for the `cast.framework.events.EventType.MEDIA_FINISHED` event, indicating the completion of media playback."],["It includes the `currentMediaTime` (in seconds) and the `endedReason` (e.g., ended by user, reached end, error)."],["Developers can access these properties to understand why and when the media finished playing within the Cast framework."]]],["The `MediaFinishedEvent` class provides data for the `MEDIA_FINISHED` event. It's initialized with `currentMediaTime` and `endedReason`. `currentMediaTime` is the time in seconds when media concluded, relative to the current queue item if applicable. `endedReason` indicates why the media finished, using an enumerated `EndedReason` value. Both parameters, if present, provide context as to what time the media finished, and why.\n"]]