台湾一级a毛片在线播放,黄色精品偷拍视频大全,精品一区二区在线欧美日韩,日本特黄一级视频播三级片,日韩美女18岁美女视频,偷偷操不一样的99,国产午夜激无码av毛片久

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

主頁 > 服務(wù)與支持 > 開發(fā)平臺(tái) > 客戶端SDK參考 > Windows UI SDK > 接口參考 創(chuàng)建即時(shí)會(huì)議(帶與會(huì)者參數(shù))

入門使用

創(chuàng)建即時(shí)會(huì)議(帶與會(huì)者參數(shù))

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

clm_createMeetingWithParticipants

接口描述

該接口創(chuàng)建即時(shí)會(huì)議。

注意事項(xiàng)

無。

方法定義

int clm_createMeetingWithParticipants(plugin_create_meeting_with_participants_param *data)
 

參數(shù)描述

表1 結(jié)構(gòu)體plugin_create_meeting_with_participants_param參數(shù)說明

參數(shù)

是否必須

類型

描述

callbackFunc

函數(shù)

接口結(jié)果回調(diào)函數(shù)。

meetingSubject

char*

會(huì)議主題。

meetingType

unsigned int

會(huì)議類型。

needPassword

unsigned int

是否需要會(huì)議接入碼。

  • 0表示不需要
  • 1為需要

memberInfo

struct meeting_participants_param

與會(huì)者信息列表結(jié)構(gòu)體。

表2 結(jié)構(gòu)體meeting_participants_param參數(shù)說明

參數(shù)

類型

描述

member

struct meeting_participants

與會(huì)者信息結(jié)構(gòu)體。

count

unsigned int

與會(huì)者個(gè)數(shù)。

表3 結(jié)構(gòu)體meeting_participants參數(shù)說明

參數(shù)

類型

描述

name

char*

與會(huì)者名稱。

number

char*

與會(huì)者號(hào)碼。

返回值

表4 返回值

類型

描述

int

成功返回0,其他值表示失敗。

代碼示例

int demoCreatMeetingWithParticipants::clickCreatMeetingWithParticipants()
{
        struct plugin_create_meeting_with_participants_param data;
	memset(&data, 0, sizeof(plugin_create_meeting_with_participants_param));

        string meetingSubject= "subject";
        data.meetingSubject = (char*)meetingSubject.c_str();
        data.meetingType = CONF_MEDIATYPE_FLAG_VIDEO_DATA;
        data.needPassword = 0;
        meeting_participants participants;
        string name = "name";
        participants.name = (char*)name.c_str();
        string number = "number";
        participants.number = (char*)number.c_str();
	data.memberInfo.count = 1;
	data.memberInfo.member = participants;

	//設(shè)置回調(diào)接口
        data.callbackFunc = createMeetingWithParticipantsCallBack;
	int ret = clm_createMeetingWithParticipants(&data);
	return ret;
}