Overview
Updated: 2026-03-16 09:21:59
This document primarily provides an overview of the core method APIs and the overall design of the viewing page SDK.
1. API Method Overview
| API Method | Description |
|---|---|
| getExtBusinessInfo | Get additional business information |
| getAccountInfo | Get account information |
| setXAuthToken | Set authorization token |
| freeze | Freeze module |
| unFreeze | Unfreeze module |
| setup | Install viewing page core |
| disconnect | Disconnect chat room connection |
| connect | Connect to chat room |
| updateAppConfig | Update core configuration |
| isPlaybackWatchByVid | Check if in playback viewing page mode |
| getPlaybackWatchBasicInfo | Get basic information for viewing playback via vid |
| setWeixinSdk | Set WeChat SDK acquisition function |
| getWeixinSdk | Get the WeChat SDK acquisition function set in the core |
2. Event Overview
| Event | Description |
|---|---|
| PolyvWatchCoreEvents.WatchCoreSetuped | Core setup completion hook |
| PolyvWatchCoreEvents.WatchCoreConnected | Chat room connection completion hook |
| PolyvWatchCoreEvents.WatchCoreDisconnected | Chat room disconnection completion hook |
3. Overall Design

