[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\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."]]