AI-generated Key Takeaways
-
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 acastState
parameter, which must be a validcast.framework.CastState
value.
cast.framework. CastStateEventData
Data for cast state changed event.
Constructor
CastStateEventData
new CastStateEventData(castState)
Parameter |
|
---|---|
castState |
Current cast icon state. Value must not be null. |
Property
castState
non-null cast.framework.CastState
Cast icon state.