تاریخ آخرین بهروزرسانی 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\u003eThe \u003ccode\u003ecast.framework.events.SegmentDownloadedEvent\u003c/code\u003e class provides data for segment download events within the Cast framework.\u003c/p\u003e\n"],["\u003cp\u003eThis event includes information about the time taken to download the segment (\u003ccode\u003edownloadTime\u003c/code\u003e) and the size of the segment in bytes (\u003ccode\u003esize\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this event data to monitor and optimize segment downloads during Cast sessions.\u003c/p\u003e\n"]]],[],null,["# Class: SegmentDownloadedEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).SegmentDownloadedEvent\n===========================================================================================================================================================\n\nclass static\n\nEvent data for a `cast.framework.events.EventType.SEGMENT_DOWNLOADED`\nevent.\n\nConstructor\n-----------\n\n### SegmentDownloadedEvent\n\nnew\nSegmentDownloadedEvent(downloadTime, size)\n\n| #### Parameter ||\n|--------------|-----------------|\n| downloadTime | Optional number |\n| size | Optional number |\n\nProperties\n----------\n\n### downloadTime\n\nconstant\n\n(number or undefined)\n\nThe time it took to download the segment, in milliseconds.\n\n### size\n\nconstant\n\n(number or undefined)\n\nThe number of bytes in the segment."]]