Class: CastStateEventData

  • CastStateEventData provides data for the cast state changed event, indicating the current state of the cast icon.

  • It includes a castState property, representing the current cast icon state (e.g., connected, disconnected).

  • The constructor for CastStateEventData requires a castState parameter, which must be a valid cast.framework.CastState value.

Constructor

CastStateEventData

new CastStateEventData(castState)

Parameter

castState

cast.framework.CastState

Current cast icon state.

Value must not be null.

Property

castState

non-null cast.framework.CastState

Cast icon state.