Constructor

Event

new Event(type, data)

Parameter

type

cast.framework.system.EventType

Event Type.

Value must not be null.

data

(nullable any type or undefined)

Event data (deprecated).