# cast.[framework](https://developers.google.com/cast/docs/reference/web_sender/cast.framework).EventData

class static

Generic cast event data. Provide the event type.

## Constructor

### EventData

new
EventData(type)

| #### Parameter ||
|---|---|
| type | [cast.framework.EventType](https://developers.google.com/cast/docs/reference/web_sender/cast.framework#.EventType) The event type. Value must not be null. |

## Property

### type

non-null [cast.framework.EventType](https://developers.google.com/cast/docs/reference/web_sender/cast.framework#.EventType)

The event type.