oem
方法总览
方法名称 | 行为 | 含义描述 |
---|---|---|
OnCustomMenuItemTrigger | 通知 | 自定义菜单点击 |
SetCustomText | 调用 | 设置特定翻译项;strNode: 要修改的目标翻译项;strLang: 要修改的语言类型;strValue: 修改的结果 |
SetCustomColor | 调用 | 设置特定模块的颜色值;strKey: 要修改的目标项;strValue: 修改的结果 |
SetCustomImg | 调用 | 替换特定的图片;strKey: 要修改的目标项;strValue: 修改的结果 |
AddCustomMenuItem | 调用 | 在控制栏中增加自定义菜单项;menuBarType: 目标控制栏;nPos: 在控制栏中的位置, 需要>0;menuItemData: 菜单项数据; |
AddCustomMenuItemIntoMore | 调用 | 在控制栏的更多菜单中增加自定义菜单项;menuType: 目标控制栏;;menuItemData: 菜单项数据; |
RemoveCustomMenuItem | 调用 | 在控制栏中移除自定义菜单项;menuBarType: 目标控制栏;strItemId: 菜单项id |
ClearAllCustomMenuItem | 调用 | 清空自定义菜单项 |
ApplyCustomSet | 调用 | 应用custom设置,所有自定义控件是否显示、图片替换、文本替换,都要调用该接口进行设置 |
OnCustomMenuItemTrigger
通知描述
自定义菜单点击
通知定义
void OnCustomMenuItemTrigger(string strItemId);
参数描述
参数 | 类型 | 含义 |
---|---|---|
strItemId | string | 无 |
返回值描述
无返回值。
SetCustomText
接口描述
设置特定翻译项
接口定义
YLSDKERR SetCustomText(string strNode, string strLang, string strValue);
参数描述
参数 | 类型 | 含义 |
---|---|---|
strNode | string | 要修改的目标翻译项 |
strLang | string | 要修改的语言类型 |
strValue | string | 修改的结果 |
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |
SetCustomColor
接口描述
设置特定模块的颜色值
接口定义
YLSDKERR SetCustomColor(string strKey, string strValue);
参数描述
参数 | 类型 | 含义 |
---|---|---|
strKey | string | 要修改的目标项 |
strValue | string | 修改的结果 |
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |
SetCustomImg
接口描述
替换特定的图片
接口定义
YLSDKERR SetCustomImg(string strKey, string strValue);
参数描述
参数 | 类型 | 含义 |
---|---|---|
strKey | string | 要修改的目标项 |
strValue | string | 修改的结果 |
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |
AddCustomMenuItem
接口描述
在控制栏中增加自定义菜单项
接口定义
YLSDKERR AddCustomMenuItem(MENU_BAR_TYPE menuBarType, int nPos, CustomMenuItemData menuItemData);
参数描述
参数 | 类型 | 含义 |
---|---|---|
menuBarType | MENU_BAR_TYPE | 目标控制栏 |
nPos | int | 在控制栏中的位置, 需要>0 |
menuItemData | CustomMenuItemData | 菜单项数据 |
MENU_BAR_TYPE
enum MENU_BAR_TYPE {
MeetingBottomCenterBar = 0,/** < 会议底部中间控制栏 */
MeetingShareControlBar = 1,/** < 会议辅流控制栏 */
}
CustomMenuItemData 自定义菜单信息
struct CustomMenuItemData {
MenuItemInfo menuInfo;/** */
std::vector<MenuItemInfo> listSubItems;/** < 一层子菜单 */
}
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |
AddCustomMenuItemIntoMore
接口描述
在控制栏的更多菜单中增加自定义菜单项;menuType: 目标控制栏;;menuItemData: 菜单项数据;
接口定义
YLSDKERR AddCustomMenuItemIntoMore(MENU_BAR_TYPE menuBarType, CustomMenuItemData menuItemData);
参数描述
参数 | 类型 | 含义 |
---|---|---|
menuBarType | MENU_BAR_TYPE | 无 |
menuItemData | CustomMenuItemData | 菜单项数据 |
MENU_BAR_TYPE
enum MENU_BAR_TYPE {
MeetingBottomCenterBar = 0,/** < 会议底部中间控制栏 */
MeetingShareControlBar = 1,/** < 会议辅流控制栏 */
}
CustomMenuItemData 自定义菜单信息
struct CustomMenuItemData {
MenuItemInfo menuInfo;/** */
std::vector<MenuItemInfo> listSubItems;/** < 一层子菜单 */
}
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |
RemoveCustomMenuItem
接口描述
在控制栏中移除自定义菜单项
接口定义
YLSDKERR RemoveCustomMenuItem(MENU_BAR_TYPE menuBarType, string strItemId);
参数描述
参数 | 类型 | 含义 |
---|---|---|
menuBarType | MENU_BAR_TYPE | 目标控制栏 |
strItemId | string | 菜单项id |
MENU_BAR_TYPE
enum MENU_BAR_TYPE {
MeetingBottomCenterBar = 0,/** < 会议底部中间控制栏 */
MeetingShareControlBar = 1,/** < 会议辅流控制栏 */
}
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |
ClearAllCustomMenuItem
接口描述
清空自定义菜单项
接口定义
YLSDKERR ClearAllCustomMenuItem();
参数描述
无参数。
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |
ApplyCustomSet
接口描述
应用custom设置,所有自定义控件是否显示、图片替换、文本替换,都要调用该接口进行设置
接口定义
YLSDKERR ApplyCustomSet();
参数描述
无参数。
返回值描述
类型 | 含义 |
---|---|
YLSDKERR | 错误码,详情见错误码 YLSDKERR 的定义 |