Class: StandbyChangedEvent

  • The StandbyChangedEvent is dispatched by cast.framework.CastReceiverContext when the TV's standby state changes.

  • Applications should check the isStandby property to determine the current standby state.

  • The isStandby property is true when the TV is in standby and false otherwise, including when the state is unknown.

  • The cast.framework.CastReceiverContext#getStandbyState method can be called to get the actual standby status, including if it's unknown.

Constructor

StandbyChangedEvent

new StandbyChangedEvent(isStandby)

Parameter

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.

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