Class: MaxVideoResolutionChangedEvent

  • MaxVideoResolutionChangedEvent signals when the system updates maximum video resolution restrictions.

  • It's dispatched by cast.framework.CastReceiverContext and includes the maximum allowed height, where 0 means no restriction.

  • This event extends the base cast.framework.system.Event and has a type property indicating the event type.

Constructor

MaxVideoResolutionChangedEvent

new MaxVideoResolutionChangedEvent(height)

Parameter

height

number

Maximum video resolution requested by the system. The value of 0 means there is no restriction.

Extends
cast.framework.system.Event

Property

type

non-null cast.framework.system.EventType

The event type.

Inherited from
cast.framework.system.Event#type