[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003eStandbyChangedEvent\u003c/code\u003e is dispatched when a TV's standby state changes (entering or leaving standby).\u003c/p\u003e\n"],["\u003cp\u003eApps should always check the \u003ccode\u003eisStandby\u003c/code\u003e property to determine the TV's current standby status.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecast.framework.CastReceiverContext#getStandbyState\u003c/code\u003e can be used to check if the TV's standby status is unknown.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStandbyChangedEvent\u003c/code\u003e constructor takes an \u003ccode\u003eisStandby\u003c/code\u003e parameter indicating the TV's standby state.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStandbyChangedEvent\u003c/code\u003e inherits from \u003ccode\u003ecast.framework.system.Event\u003c/code\u003e and includes an \u003ccode\u003eisStandby\u003c/code\u003e property reflecting the TV's standby status.\u003c/p\u003e\n"]]],["The `StandbyChangedEvent` is dispatched by `CastReceiverContext` when a TV enters or exits standby mode. Applications should check the `isStandby` property to determine the TV's state. The `isStandby` property is `true` if the TV is in standby and `false` otherwise. The actual standby state can also be checked by calling `getStandbyState`. The `StandbyChangedEvent` also has a `type` property. This class inherits from `cast.framework.system.Event`.\n"],null,["# Class: StandbyChangedEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[system](/cast/docs/reference/web_receiver/cast.framework.system).StandbyChangedEvent\n========================================================================================================================================================\n\nclass static\n\nAn event dispatched by [cast.framework.CastReceiverContext](/cast/docs/reference/web_receiver/cast.framework.CastReceiverContext) when the TV\nenters or leaves the standby state, so the application should always verify\nthe `isStandby` property. To know if the actual status is unknown, the\napplication can call the\n[cast.framework.CastReceiverContext#getStandbyState](/cast/docs/reference/web_receiver/cast.framework.CastReceiverContext#getStandbyState) method.\n\nConstructor\n-----------\n\n### StandbyChangedEvent\n\nnew\nStandbyChangedEvent(isStandby)\n\n| #### Parameter ||\n|-----------|-------------------------------------------------------------------------------------------------------------------------------|\n| isStandby | boolean This is `true` when the TV is in standby, or `false` when either the TV is not in standby or if its state is unknown. |\n\nExtends\n: [cast.framework.system.Event](/cast/docs/reference/web_receiver/cast.framework.system.Event)\n\nProperties\n----------\n\n### isStandby\n\nboolean\n\nThis is `true` when the TV is in standby and `false` if it isn't.\n\n### type\n\nnon-null [cast.framework.system.EventType](/cast/docs/reference/web_receiver/cast.framework.system#.EventType)\n\nThe event type.\n\nInherited from\n: [cast.framework.system.Event#type](/cast/docs/reference/web_receiver/cast.framework.system.Event#type)"]]