Ein Ereignis, das von cast.framework.CastReceiverContext ausgelöst wird, wenn das System die Beschränkung der maximalen Videoauflösung aktualisieren muss.
Konstruktor
MaxVideoResolutionChangedEvent
neu
MaxVideoResolutionChangedEvent(height)
Parameter
height
Zahl
Die maximale vom System angeforderte Videoauflösung.
Der Wert 0 bedeutet, dass es keine Einschränkung gibt.
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eMaxVideoResolutionChangedEvent\u003c/code\u003e signals when the system updates maximum video resolution restrictions.\u003c/p\u003e\n"],["\u003cp\u003eIt's dispatched by \u003ccode\u003ecast.framework.CastReceiverContext\u003c/code\u003e and includes the maximum allowed height, where 0 means no restriction.\u003c/p\u003e\n"],["\u003cp\u003eThis event extends the base \u003ccode\u003ecast.framework.system.Event\u003c/code\u003e and has a \u003ccode\u003etype\u003c/code\u003e property indicating the event type.\u003c/p\u003e\n"]]],["The `MaxVideoResolutionChangedEvent` is dispatched by `CastReceiverContext` when the system requires a change in maximum video resolution. The event constructor takes a `height` parameter, a number indicating the requested maximum video resolution. A `height` of 0 signifies no restriction. This event extends `cast.framework.system.Event` and has a `type` property, which indicates the event type, inherited from `cast.framework.system.Event`.\n"],null,["# Class: MaxVideoResolutionChangedEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[system](/cast/docs/reference/web_receiver/cast.framework.system).MaxVideoResolutionChangedEvent\n===================================================================================================================================================================\n\nclass static\n\nAn event dispatched by [cast.framework.CastReceiverContext](/cast/docs/reference/web_receiver/cast.framework.CastReceiverContext) when the\nsystem needs to update the restriction on maximum video resolution.\n\nConstructor\n-----------\n\n### MaxVideoResolutionChangedEvent\n\nnew\nMaxVideoResolutionChangedEvent(height)\n\n| #### Parameter ||\n|--------|--------------------------------------------------------------------------------------------------------|\n| height | number Maximum video resolution requested by the system. The value of 0 means there is no restriction. |\n\nExtends\n: [cast.framework.system.Event](/cast/docs/reference/web_receiver/cast.framework.system.Event)\n\nProperty\n--------\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)"]]