Peristiwa yang dikirimkan oleh cast.framework.CastReceiverContext saat
visibilitas aplikasi berubah - misalnya, saat input HDMI
berubah, atau TV dimatikan.
Konstruktor
VisibilityChangedEvent
baru
VisibilityChangedEvent(isVisible)
Parameter
isVisible
boolean
true jika perangkat Transmisi adalah input aktif,
false jika tidak.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]],[]]