AVDAnnotaion Class Reference

Inherits from AVDModule : NSObject
Declared in AVDAnnotaion.h
AVDAnnotaion.mm

  boardId

< 注释模块回调接口代理

@property (nonatomic, assign, readonly) AVDBoardId boardId

Discussion

< 注释模块回调接口代理

Declared In

AVDAnnotaion.h

– internal_getAnnotaionList:

获取当前白板id对应的注释列表

- (NSMutableArray *)internal_getAnnotaionList:(AVDBoardId)boardId

Parameters

boardId

白板id

Return Value

注释列表

Discussion

获取当前白板id对应的注释列表

Declared In

AVDAnnotaion.h

– addAnnotation:annotaionString:

新增注释

- (AVDResult)addAnnotation:(AVDBoardId)boardId annotaionString:(NSString *)annotaionJsonString

Parameters

boardId

白板id

annotaionJsonString

新增注释的json字符串

Return Value

返回错误代码

Discussion

新增注释

Declared In

AVDAnnotaion.h

– removeAnnotationObj:annotaionId:

移除注释

- (AVDResult)removeAnnotationObj:(AVDBoardId)boardId annotaionId:(AVDAnnotaionId)annotaionId

Parameters

boardId

白板id

annotaionId

需要移除的注释id

Return Value

返回错误代码

Discussion

移除注释

Declared In

AVDAnnotaion.h

– updateAnnotation:annotaionId:annotaionJsonString:

更新注释

- (AVDResult)updateAnnotation:(AVDBoardId)boardId annotaionId:(AVDAnnotaionId)annotaionId annotaionJsonString:(NSString *)annotaionJsonString

Parameters

boardId

白板id

annotaionId

注释id

annotaionJsonString

更新注释的json字符串

Return Value

返回错误代码

Discussion

更新注释

Declared In

AVDAnnotaion.h

– undo:

撤销

- (AVDResult)undo:(AVDBoardId)boardId

Parameters

boardId

白板id

Return Value

返回错误代码

Discussion

撤销

Declared In

AVDAnnotaion.h

– redo:

重做

- (AVDResult)redo:(AVDBoardId)boardId

Parameters

boardId

白板id

Return Value

返回错误代码

Discussion

重做

Declared In

AVDAnnotaion.h

– clear:

清除

- (AVDResult)clear:(AVDBoardId)boardId

Parameters

boardId

白板id

Return Value

返回错误代码

Discussion

清除

Declared In

AVDAnnotaion.h