Class: MaxVideoResolutionChangedEvent

  • MaxVideoResolutionChangedEvent is dispatched by cast.framework.CastReceiverContext when the system updates maximum video resolution restrictions.

  • The constructor for MaxVideoResolutionChangedEvent takes a height parameter, a number indicating the maximum requested video resolution, with 0 meaning no restriction.

  • This event extends cast.framework.system.Event.

  • The event has a type property, inherited from cast.framework.system.Event, 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