Class: Event

  • cast.framework.events.Event is the base class for all event data dispatched by cast.framework.PlayerManager.

  • It includes a type property indicating the specific event type, which is a value from cast.framework.events.EventType.

  • Events are created using the Event constructor, taking the event type as a parameter.

Constructor

Event

new Event(type)

Parameter

type

cast.framework.events.EventType

Event type

Value must not be null.

Property

type

constant

non-null cast.framework.events.EventType

Type of the event.