AI-generated Key Takeaways
- 
          VisibilityChangedEventis dispatched bycast.framework.CastReceiverContextwhen the application's visibility changes due to factors like HDMI input changes or the TV being turned off.
- 
          The constructor VisibilityChangedEvent(isVisible)takes a boolean parameterisVisibleindicating whether the Cast device is the active input.
- 
          The isVisibleproperty is a boolean that istruewhen the Cast device is the active input andfalseotherwise.
- 
          The typeproperty, inherited fromcast.framework.system.Event, indicates the event type.
cast.framework.system.  VisibilityChangedEvent
            An event dispatched by cast.framework.CastReceiverContext when the visibility of the application changes - for instance, when the HDMI input changes, or the TV is turned off.
Constructor
VisibilityChangedEvent
new VisibilityChangedEvent(isVisible)
| Parameter | |
|---|---|
| isVisible | boolean 
 | 
- Extends
- cast.framework.system.Event
Properties
isVisible
boolean
true when the Cast device is the active input, false when not.
type
non-null cast.framework.system.EventType
The event type.
- Inherited from
- cast.framework.system.Event#type