[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe \u003ccode\u003ecast.framework.events.MediaInformationChangedEvent\u003c/code\u003e signals changes in media information during a Cast session.\u003c/p\u003e\n"],["\u003cp\u003eIt's triggered by the \u003ccode\u003ecast.framework.events.EventType.MEDIA_INFORMATION_CHANGED\u003c/code\u003e event and provides updated media details.\u003c/p\u003e\n"],["\u003cp\u003eThe event data includes a \u003ccode\u003emedia\u003c/code\u003e property containing a \u003ccode\u003ecast.framework.messages.MediaInformation\u003c/code\u003e object representing the updated media information.\u003c/p\u003e\n"]]],["The `MediaInformationChangedEvent` class is the event data for a `MEDIA_INFORMATION_CHANGED` event. It's constructed using `new MediaInformationChangedEvent(media)`, where the `media` parameter is optional but should not be null. This parameter represents `MediaInformation`, and when a change is detected, the event data will contain the updated information. The event is used when media information changes.\n"],null,["# Class: MediaInformationChangedEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).MediaInformationChangedEvent\n=================================================================================================================================================================\n\nclass static\n\nEvent data for a `cast.framework.events.EventType.MEDIA_INFORMATION_CHANGED`\nevent.\n\nConstructor\n-----------\n\n### MediaInformationChangedEvent\n\nnew\nMediaInformationChangedEvent(media)\n\n| #### Parameter ||\n|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| media | Optional [cast.framework.messages.MediaInformation](/cast/docs/reference/web_receiver/cast.framework.messages.MediaInformation) Value must not be null. |"]]