主頁(yè) > 服務(wù)與支持 > 開(kāi)發(fā)平臺(tái) > 客戶(hù)端SDK參考 > Windows UI SDK > 業(yè)務(wù)開(kāi)發(fā) 會(huì)議ID入會(huì)
更新時(shí)間:2019-11-20
使用該接口可以在登錄和未登錄狀態(tài)下通過(guò)會(huì)議ID和接入碼加入會(huì)議。
/** * 入會(huì)結(jié)果回調(diào) */ afx_msg LRESULT CHello_WorldDlg::joinMeetingCallBack(WPARAM wParam, LPARAM lParam) { if (wParam != PLUGIN_STATUS_SUCCESS) { //在此處增加失敗處理邏輯 } else { //在此處增加成功處理邏輯 } return 0L; } |
int demoJoinMeetingDlg::clickJoinMeetingById() { string meetingID = "id"; string accessCode = "accessCode"; string nickName = "nickName";//會(huì)議昵稱(chēng) struct plugin_join_meeting_by_id_param data; memset(&data, 0, sizeof(plugin_join_meeting_by_id_param)); data.meetingID = (char*)meetingID.c_str(); data.password = (char*)accessCode.c_str(); data.nickName = (char*)nicName.c_str(); //設(shè)置回調(diào)接口 data.callbackFunc = joinMeetingCallBack; int ret = clm_joinMeetingById(&data); return ret; } |
上述代碼示例僅作為邏輯示例,不能直接使用。