סיווג: אירוע
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[[["התוכן קל להבנה","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\u003ecast.framework.events.Event\u003c/code\u003e is the base class for all event data dispatched by \u003ccode\u003ecast.framework.PlayerManager\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003etype\u003c/code\u003e property indicating the specific event type, which is a value from \u003ccode\u003ecast.framework.events.EventType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEvents are created using the \u003ccode\u003eEvent\u003c/code\u003e constructor, taking the event type as a parameter.\u003c/p\u003e\n"]]],[],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).Event \nclass static\n\nEvent data superclass for all events dispatched by\n[cast.framework.PlayerManager](/cast/docs/reference/web_receiver/cast.framework.PlayerManager).\n\nConstructor\n\nEvent\n\nnew\nEvent(type)\n\n| Parameter ||\n|------|------------------------------------------------------------------------------------------------------------------------------------------|\n| type | [cast.framework.events.EventType](/cast/docs/reference/web_receiver/cast.framework.events#.EventType) Event type Value must not be null. |\n\nProperty\n\ntype \nconstant\n\nnon-null [cast.framework.events.EventType](/cast/docs/reference/web_receiver/cast.framework.events#.EventType)\n\nType of the event."]]