Interface NERoomAnnotationController
-
- All Implemented Interfaces:
-
com.netease.yunxin.kit.roomkit.api.NEBaseController
public interface NERoomAnnotationController implements NEBaseController
批注控制器
-
-
Method Summary
Modifier and Type Method Description abstract Integer
setEnableDraw(Boolean enable)
设置批注是否可绘制 abstract Integer
setupCanvas(NEWhiteboardView view)
设置批注视图 abstract Integer
resetCanvas(NEWhiteboardView view)
重置批注视图 abstract Integer
lockCameraWithContent(Integer width, Integer height)
将批注白板和被标注物的坐标绑定 abstract Unit
stopAnnotationShare(NECallback<Unit> callback)
关闭批注共享 abstract Boolean
isAnnotationEnabled()
当前批注是否开启 -
-
Method Detail
-
setEnableDraw
abstract Integer setEnableDraw(Boolean enable)
设置批注是否可绘制
- Parameters:
enable
- 是否允许绘制return 0 成功 其他 失败
-
setupCanvas
abstract Integer setupCanvas(NEWhiteboardView view)
设置批注视图
- Parameters:
view
- 批注视图return 0 成功 其他 失败
-
resetCanvas
abstract Integer resetCanvas(NEWhiteboardView view)
重置批注视图
- Parameters:
view
- 当前批注视图或传入null强制重置
-
lockCameraWithContent
abstract Integer lockCameraWithContent(Integer width, Integer height)
将批注白板和被标注物的坐标绑定
- Parameters:
width
- 被标注物的宽度(一般为视频画面宽度)height
- 被标注物的高度(一般为视频画面高度度)
-
stopAnnotationShare
abstract Unit stopAnnotationShare(NECallback<Unit> callback)
关闭批注共享
- Parameters:
callback
- 回调函数
-
isAnnotationEnabled
abstract Boolean isAnnotationEnabled()
当前批注是否开启
-
-
-
-