Class: EventData
-
cast.framework.EventData is a static class representing generic Cast event data.
-
The constructor EventData(type) requires a non-null cast.framework.EventType parameter to define the event type.
-
The type property of an EventData object is a non-null cast.framework.EventType indicating the specific event type.
Constructor
EventData
new
EventData(type)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],["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"]]