類別:TracksChangedEvent
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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()"]]