AI-generated Key Takeaways
-
StandbyChangedEvent
is dispatched when a TV's standby state changes (entering or leaving standby). -
Apps should always check the
isStandby
property to determine the TV's current standby status. -
cast.framework.CastReceiverContext#getStandbyState
can be used to check if the TV's standby status is unknown. -
The
StandbyChangedEvent
constructor takes anisStandby
parameter indicating the TV's standby state. -
StandbyChangedEvent
inherits fromcast.framework.system.Event
and includes anisStandby
property reflecting the TV's standby status.
cast.framework.system. StandbyChangedEvent
An event dispatched by cast.framework.CastReceiverContext when the TV
enters or leaves the standby state, so the application should always verify
the isStandby
property. To know if the actual status is unknown, the
application can call the
cast.framework.CastReceiverContext#getStandbyState method.
Constructor
StandbyChangedEvent
new StandbyChangedEvent(isStandby)
Parameter |
|
---|---|
isStandby |
boolean This is |
- Extends
- cast.framework.system.Event
Properties
isStandby
boolean
This is true
when the TV is in standby and false
if it isn't.
type
non-null cast.framework.system.EventType
The event type.
- Inherited from
- cast.framework.system.Event#type