开启共享屏幕 startShare
描述:开启共享屏幕
示例
const onsuccess = () => {
console.error('startShare success');
};
const onerror = (error) => {
console.error(error);
};
YlinkMeeting.startShare(onsuccess, onerror);
参数
| 名称 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
| onsuccess | () => void | 否 | 接口成功回调 |
| onerror | (error: string) => void | 否 | 接口失败回调 |
返回数据
void