华为云会议 MEETING-场景12:退出:示例代码

时间:2024-01-24 11:27:30

示例代码

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
/**
* 退出sdk
*/
async exitSdk(){
    const apiService = await new ApiService();
    let setResult = await apiService.exit();
    if(setResult != 0){
        window.electron.ipcRenderer.send("show-error-alert", "exit error = " + setResult);
    }
}
support.huaweicloud.com/sdkreference-meeting/toctopics/zh-cn_topic_0000001274462933.html