程序包 rtc
类 MAnnotationInternal
java.lang.Object
rtc.MAnnotationInternal
注释模块.
-
嵌套类概要
嵌套类修饰符和类型类说明static class注释主体static interface注释回调接口 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intaddAnnotationObj(String boardId, String annotationStr) 添加注释intclearAnnotations(String boardId) 清空白板voidgetAnnotationList(String boardId) 获取白板注释列表voidstatic booleanisSupported(long type) int重新绘制intremoveAnnotationObj(String boardId, String annotationId) 移除指定注释booleansetListener(MAnnotationInternal.Listener listener) int撤销绘制intupdateAnnotationObj(String annotationId, String annotationStr) 更新指定注释
-
构造器详细资料
-
MAnnotationInternal
public MAnnotationInternal(long annoObj)
-
-
方法详细资料
-
isSupported
public static boolean isSupported(long type) -
removeAnnotationObj
移除指定注释- 参数:
boardId- 白板idannotationId- 注释id- 返回:
- 成功:0
-
undo
撤销绘制- 参数:
boardId- 白板id- 返回:
- 成功:0
-
redo
重新绘制- 参数:
boardId- 白板id- 返回:
- 成功:0
-
clearAnnotations
清空白板- 参数:
boardId- 白板id- 返回:
- 成功:0
-
addAnnotationObj
添加注释- 参数:
boardId- 白板idannotationStr- 注释主体- 返回:
- 成功:0
-
updateAnnotationObj
更新指定注释- 参数:
annotationId- 注释idannotationStr- 注释主体- 返回:
- 成功:0
-
getAnnotationList
获取白板注释列表- 参数:
boardId- 白板id- 返回:
- 成功:0
-
setListener
-
freeListener
public void freeListener() -
initNativeListener
public void initNativeListener()
-