[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eMediaFinishedEvent\u003c/code\u003e provides data for the \u003ccode\u003ecast.framework.events.EventType.MEDIA_FINISHED\u003c/code\u003e event, indicating the completion of media playback.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the \u003ccode\u003ecurrentMediaTime\u003c/code\u003e (in seconds) and the \u003ccode\u003eendedReason\u003c/code\u003e (e.g., ended by user, reached end, error).\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access these properties to understand why and when the media finished playing within the Cast framework.\u003c/p\u003e\n"]]],["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"],null,[]]