手机看片1024精品国产,丁香婷婷成人,午夜国产一级片,黄色片网站在线免费观看,男人的天堂香蕉在线视频,一级特黄毛片在线,中文日产国产精品久久

智慧服務(wù),成就美好體驗(yàn) 項(xiàng)目咨詢

主頁 > 服務(wù)與支持 > 開發(fā)平臺(tái) > 客戶端SDK參考 > Web SDK > 會(huì)議 創(chuàng)建會(huì)議

入門使用

創(chuàng)建會(huì)議

更新時(shí)間:2019-11-19

描述

用戶在創(chuàng)建會(huì)議時(shí),會(huì)查詢與用戶相關(guān)的會(huì)議列表,并查詢指定會(huì)議ID的會(huì)議詳情。

創(chuàng)建會(huì)議的前提是已完成登錄和鑒權(quán)。

業(yè)務(wù)流程

圖1 創(chuàng)建會(huì)議流程圖 
  1. 構(gòu)建預(yù)約會(huì)議的數(shù)據(jù)結(jié)構(gòu)bookConferenceParam。
  2. 調(diào)用bookConference()接口進(jìn)行預(yù)約會(huì)議,第1步中的bookConferenceParam作為參數(shù)。

    代碼示例:

    client.bookConference({
    	topic: topic, 
    	duration: parseInt(duration), 
    	isVideo: confType,
    	isHdConf:isHDConf,
    	confType:startType,
    	startTime: startType == 0 ? null : {
    		year: newDate.getFullYear(), month: (newDate.getMonth() + 1), date: newDate.getDate(),
    		hours: newDate.getHours(), minutes: newDate.getMinutes()
    	}, 
    	language: 1,
    	attendees: attendeeList
    }, function (ret) {
    	alert("bookConference callback" + JSON.stringify(ret))
    })
    
     

    參考文件:\usage\components\book_conf.html。

  3. 調(diào)用getMyConfList()接口獲取會(huì)議列表。

    代碼示例:

    var getMyConfList = function (pageIndex) {
            var pageSize = 6;
    
            client.getMyConfList(pageIndex, pageSize, function (ret) {
                if (ret.result) {
                    var data = ret.info
    
                    for (var m in data) {
                        //process data
                    }
                }
            })
        }
    
     

    參考文件:\usage\components\conf_list.html。

  4. 獲取要查詢的會(huì)議的confId。
  5. 調(diào)用getMyConfInfo()接口獲取第4步中confId的會(huì)議詳情。

    代碼示例:

    var getMyConfInfo = function (conf_id) {
            client.getMyConfInfo(conf_id, function (ret) {
                if (ret.info) {
                    var data = ret.info
                    //Process the conference information
                }
            })
        }
    
     

    參考文件:\usage\components\conf_list.html。

注意事項(xiàng)

  1. bookConference接口要求預(yù)約時(shí)間至少大于當(dāng)前時(shí)間15分鐘。
  2. 調(diào)用bookConference接口創(chuàng)建會(huì)議類型confType為0(立即)的會(huì)議時(shí),不需要傳入角色為主席的與會(huì)者,系統(tǒng)會(huì)默認(rèn)將創(chuàng)建者自己設(shè)置為主席。