主頁(yè) > 服務(wù)與支持 > 開(kāi)發(fā)平臺(tái) > 客戶端SDK參考 > Android UI SDK > 業(yè)務(wù)開(kāi)發(fā) 創(chuàng)建會(huì)議
更新時(shí)間:2019-11-20
創(chuàng)建會(huì)議功能會(huì)創(chuàng)建一個(gè)即時(shí)會(huì)議并立即加入會(huì)議,可以通過(guò)傳參指定創(chuàng)建音頻會(huì)議還是視頻會(huì)議,可以指定會(huì)議是否需要密碼。
創(chuàng)建會(huì)議的前提是已完成初始化和登錄。
代碼示例:
String subject = "張三的會(huì)議"; int type = 19;//視頻會(huì)議,具體定義見(jiàn)接口參考 boolean needPassword = false; CloudLinkSDK.getOpenApi().clmCreateMeeting(subject,type,needPassword,completeHandler); |
代碼示例:
private CLMCompleteHandler completeHandler = new CLMCompleteHandler() { @Override public void onCompleted(CLMResult result) { if (result.getCmd().equals(OpenApiConst.OPEN_EVENT_CREATE_MEETING)){ Log.i(TAG,"create meeting result" + result.getMessage()); if (result.getCode() != 0){ Log.e(TAG,"create meeting fail" + result.getMessage()); } } } } |