クラス: イベント
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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."]]