زمانی که رسانه به پایان رسید (در ثانیه). برای یک آیتم در صف، این مقدار نشان دهنده زمان در آیتم صف در حال پخش است (که در آن 0 به این معنی است که آیتم صف تازه شروع شده است).
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-24 بهوقت ساعت هماهنگ جهانی."],[[["\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,[]]