主頁 > 服務(wù)與支持 > 開發(fā)平臺(tái) > 客戶端SDK參考 > Android UI SDK > 業(yè)務(wù)開發(fā) 加入會(huì)議
更新時(shí)間:2019-11-20
使用該接口可以在登錄和未登錄狀態(tài)下通過會(huì)議ID和接入碼加入會(huì)議。
String mId = "123456789"; //會(huì)議ID String accessCode = "123@456"; //會(huì)議接入碼 String nickName = "李小四" CloudLinkSDK.getOpenApi().clmJoinMeetingById(mId, accessCode, nickName, completeHandler ); |
private CLMCompleteHandler completeHandler = new CLMCompleteHandler() { @Override public void onCompleted(CLMResult result) { if(result.getCmd().equals(OpenApiConst.OPEN_EVENT_JOIN_MEETING_BY_ID)){ Log.i(TAG,"join meeting result" + result.getMessage()); if (result.getCode() != 0){ Log.e(TAG,"join meeting fail" + result.getMessage()); } } } |
在未登錄狀態(tài)下調(diào)用該接口時(shí),會(huì)議昵稱參數(shù)必選。