Áp dụng trạng thái đã cung cấp cho tính năng phát nội dung nghe nhìn, tối đa và bao gồm cả việc chuyển sang luồng nội dung nghe nhìn mới nếu mediaId thay đổi.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# Interface CoWatchingDelegate\n\n| **Early Access Program:** This feature was only available in limited preview, through an Early Access Program. This program is now closed to new signups.\n\nHost-provided set of callbacks required to operate a CoWatching experience.\n\nSignature\n---------\n\n interface CoWatchingDelegate extends CoActivityDelegate\n\nHeritage\n--------\n\n| Extends | [CoActivityDelegate](./live_sharing_sdk.coactivitydelegate.md) |\n|---------|----------------------------------------------------------------|\n\nProperty signatures\n-------------------\n\n| Name | Description |\n|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [`activityTitle`](./live_sharing_sdk.coactivitydelegate.activitytitle.md) | User-suitable string describing the CoActivity. *(Inherited from [`CoActivityDelegate`](./live_sharing_sdk.coactivitydelegate.md))* |\n\nMethod signatures\n-----------------\n\n| Name | Description |\n|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| [`onCoWatchingStateChanged(newState)`](./live_sharing_sdk.cowatchingdelegate.oncowatchingstatechanged.md) | Apply the supplied state to media playout, up to and including switching to a new media stream if the mediaId changes. |\n| [`onCoWatchingStateQuery()`](./live_sharing_sdk.cowatchingdelegate.oncowatchingstatequery.md) | Return the current state of the local media playout. This is called regularly so it should be written to be performant. |"]]