[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2023-12-01 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"]]