主頁(yè) > 服務(wù)與支持 > 開(kāi)發(fā)平臺(tái) > 客戶端SDK參考 > Windows應(yīng)用集成 > 業(yè)務(wù)開(kāi)發(fā) 鏈接入會(huì)
更新時(shí)間:2019-11-20
通過(guò)此鏈接可以拉起應(yīng)用并且入會(huì)。
app未啟動(dòng)場(chǎng)景下,調(diào)用此鏈接會(huì)拉起應(yīng)用并且匿名入會(huì);app已啟動(dòng)未登錄場(chǎng)景下,調(diào)用此鏈接會(huì)彈出主界面并且匿名入會(huì);app已啟動(dòng)已登錄場(chǎng)景下,調(diào)用此鏈接會(huì)彈出主界面并以當(dāng)前賬號(hào)入會(huì)。
//匿名入會(huì) void joinMeetingAnonymousDlg::OnBnClickedButtonJoinMeetingAnonymous() { CString serverAddress = _T("address"); CString serverPort = _T("port"); CString meetingID = _T("id"); CString meetingPassword = _T("password"); CString showName = _T("name"); CString isOpenMic = _T("true"); CString isOpenCam = _T("true"); //組裝scheme CString schemeStr = _T("cloudlink://welinksoftclient/h5page?page=joinConfByLink&server_url=") + serverAddress + _T("&port=") + serverPort + _T("&conf_id=") + meetingID + _T("&enter_code=") + meetingPassword + _T("&name=") + showName + _T("&open_mic=") + isOpenMic + _T("&open_camera=") + isOpenCam; HWND hwnd = AfxGetApp()->GetMainWnd()->GetSafeHwnd(); ShellExecute(hwnd, _T("open"), schemeStr, NULL, NULL, SW_SHOWNORMAL); } |
上述代碼示例僅作為邏輯示例,不能直接使用。