互动白板

API概述

白板管理

组件 方式 接口 描述
CloudroomVideoMeeting 主调 createWhiteBoard 创建白板
closeBoard 关闭白板
getAllBoard 获取房间中的所有白板
updateBoardExInfo 更新白板的扩展信息
getBoardInfo 获取白板信息
getCurrentBoard 获取当前board
setCurrentBoard 设置当前board
CloudroomVideoMeetingCallBack 回调 notifyCreateBoard 通知创建子功能页白板
notifyCloseBoard 通知关闭白板
notifyBoardExinfoUpdated 通知白板的扩展信息改变
notifyCurrentBoard 通知当前白板改变
notifyInitBoardList 通知白板列表

白板View管理

组件 方式 接口 描述
CLBoardView 主调 setPageBackgroundColor 设置内容页背景色
registerWhiteBoardCallback 注册内部事件的监听者
removeWhiteBoardCallBack 清理内部事件监听者
setBoardViewCallback 配置白板View的代理对象
setBoardID 配置白板View
configBoardTextViewContainer 配置白板文本图元输入控件的父视图
resignTextViewFirstResponder 取消内部输入控件的第一响应
getBoardViewAttr 获取白板View属性
setBoardViewAttr 更新白板View属性
getBoardViewCurPage 获取View的当前页
setBoardViewCurPage 设置View的当前页
setBoardViewToolType 设置View的工具类型
getBoardViewToolType 获取View的工具类型
setBoardViewToolAttr 设置View的工具属性
getBoardViewToolAttr 获取View的工具属性
clearCurPage 清空当页标注
clearAllPage 清空整个View的标注
getRedoEnableState 获取是否可以redo
getUndoEnableState 获取是否可以undo
undo 撤销上一步操作
redo 恢复上一步操作
setViewScale 设置View的缩放系数
getViewScale 获取View的缩放系数
CLBoardViewCallBack 回调 notifyBoardCurPageChanged 通知白板view翻页改变
notifyRedoEnableChanged 通知白板view是否可以重做
notifyUndoEnableChanged 通知白板view是否可以撤销
notifyViewScaleChanged 通知当前白板view放大系数改变
notifyMarkException 通知白板异常