Class: Event

  • cast.framework.system.Event is dispatched by cast.framework.CastReceiverContext and provides system information.

  • It is constructed with type and data, where type is a non-null cast.framework.system.EventType and data is deprecated.

  • The type property indicates the specific event type from cast.framework.system.EventType.

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).

Property

type

non-null cast.framework.system.EventType

The event type.