核心事件
一、核心安装完成钩子
import { createWatchCore, PolyvWatchCoreEvents } from '@polyv/live-watch-miniprogram-sdk';
const watchCore = createWatchCore({
channelId: '频道号'
});
watchCore.setup();
watchCore.eventEmitter.on(PolyvWatchCoreEvents.WatchCoreSetuped, () => {
console.log('安装成功');
});二、聊天室连接完成钩子
Last updated