# cast.[framework](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework).[ui](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.ui).PlayerDataChangedEvent

class static

Player data changed event. Provides the changed field (type), and new value.

## Constructor

### PlayerDataChangedEvent

new
PlayerDataChangedEvent(type, field, value)

| #### Parameter ||
|---|---|
| type | [cast.framework.ui.PlayerDataEventType](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.ui#.PlayerDataEventType) Event type. Value must not be null. |
| field | string The changed field name. |
| value | any type The new field value. |

## Properties

### field

string

The field name that was changed.

### type

non-null [cast.framework.ui.PlayerDataEventType](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.ui#.PlayerDataEventType)

### value

any type

The new field value.