Products Cast Reference Class: EventData cast.framework.EventData class static Generic cast event data. Provide the event type. Constructor EventData new EventData(type) Parameter type cast.framework.EventType The event type. Value must not be null. Property type non-null cast.framework.EventType The event 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 our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated June 16, 2017.