类:TracksChangedEvent
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis documentation describes the \u003ccode\u003eTracksChangedEvent\u003c/code\u003e class within the Cast framework, specifically for web receiver applications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTracksChangedEvent\u003c/code\u003e is triggered when the media tracks, such as audio or subtitles, have been modified or changed during playback.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this event to update the user interface or perform other actions based on track changes in their Cast application.\u003c/p\u003e\n"]]],["The provided content describes the `TracksChangedEvent` class within the `cast.framework.events` namespace. This static class represents event data specifically for `cast.framework.events.EventType.TRACKS_CHANGED` events. It includes a constructor, `TracksChangedEvent`, which is initiated using `new TracksChangedEvent()`. This class is used to handle changes related to track events in the web receiver framework.\n"],null,["# Class: TracksChangedEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).TracksChangedEvent\n=======================================================================================================================================================\n\nclass static\n\nEvent data for a `cast.framework.events.EventType.TRACKS_CHANGED` event.\n\nConstructor\n-----------\n\n### TracksChangedEvent\n\nnew\nTracksChangedEvent()"]]