[[["เข้าใจง่าย","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 UTC"],[[["\u003cp\u003e\u003ccode\u003eEventData\u003c/code\u003e is a class used for generic Cast events, requiring an event type as input.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a constructor to create new \u003ccode\u003eEventData\u003c/code\u003e objects with a specified event type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etype\u003c/code\u003e property indicates the event type and is a non-null value from the \u003ccode\u003ecast.framework.EventType\u003c/code\u003e enum.\u003c/p\u003e\n"]]],["The `EventData` class within the `cast.framework` provides generic data for cast events. It requires a non-null `type` parameter during construction, which specifies the event's type using `cast.framework.EventType`. The primary property of this class is `type`, also defined as a non-null `cast.framework.EventType`, indicating the specific type of event being handled. The class allows the specification of an event type.\n"],null,["# Class: EventData\n\ncast.[framework](/cast/docs/reference/web_sender/cast.framework).EventData\n==========================================================================\n\nclass static\n\nGeneric cast event data. Provide the event type.\n\nConstructor\n-----------\n\n### EventData\n\nnew\nEventData(type)\n\n| #### Parameter ||\n|------|-------------------------------------------------------------------------------------------------------------------------------|\n| type | [cast.framework.EventType](/cast/docs/reference/web_sender/cast.framework#.EventType) The event type. Value must not be null. |\n\nProperty\n--------\n\n### type\n\nnon-null [cast.framework.EventType](/cast/docs/reference/web_sender/cast.framework#.EventType)\n\nThe event type."]]