华为云会议 Meeting-场景1:初始化:示例代码

时间:2025-02-12 15:11:45

示例代码

 1 2 3 4 5 6 7 8 91011
/// 初始化const initConfig: HWMSDKConfig = { appId: this.getAppId(),  meetingAbilityName: this.getMeetingAbilityName(), launchMode: HWMLaunchMode.SINGLE_ABILITY, navigationId: this.getNavigationId(),};const result: SDKERR = UISDK.getConfigApi().init(initConfig, this.getContext());if (result === SDKERR.HWM_SDKERR_SUC CES S) {    console.log('初始化成功');}

典型场景和接口参考中的示例代码仅作为示例用的伪代码,不能直接使用。

support.huaweicloud.com/sdkreference-meeting/toctopics/zh-cn_topic_0000002158105197.html