Un evento que envía cast.framework.CastReceiverContext cuando cambia la visibilidad de la aplicación (por ejemplo, cuando cambia la entrada HDMI o se apaga la TV).
Constructor
VisibilityChangedEvent
nuevo
VisibilityChangedEvent(isVisible)
Parámetro
isVisible
boolean
true cuando el dispositivo de transmisión es la entrada activa, false cuando no.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2023-12-13 (UTC)"],[[["`VisibilityChangedEvent` is dispatched when the visibility of the Cast application changes, such as when the TV input is switched or the TV is powered off."],["It provides a boolean property `isVisible` indicating whether the Cast device is the active input (`true`) or not (`false`)."],["This event is an instance of `cast.framework.system.Event` and includes a `type` property to identify it."]]],[]]