addDoc abstract method

Future<String?> addDoc(
  1. WBDocContents contents
)

Add a new whiteboard file

Parameter contents Whiteboard file contents with converted result

Returns

  • Current whiteboard file ID, if fail return null

Note PanoWhiteboard has created doc with whiteboard file ID "default" when created

添加新的白板文件 Parameter contents 根据转码结果指定的白板文件内容

Returns

  • 当前白板文件ID,如果失败返回null

Note PanoWhiteboard创建时会生成白板文件ID为"default"的白板文件

Implementation

Future<String?> addDoc(WBDocContents contents);