The time when the media finished (in seconds). For an item in a queue,
this value represents the time in the currently-playing queue item (
where 0 means the queue item has just started).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 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"]]