clearDocContents abstract method

Future<ResultCode> clearDocContents(
  1. String fileId,
  2. WBClearType type
)

Clear whiteboard content by specific file ID.

Parameter fileId whiteboard file ID.

Parameter type WBClearType enum type.

Returns

  • OK: Success.
  • NO_PRIVILEGE: need ADMIN role to call this API.
  • Others: Fail.

Note This API need ADMIN role.

清除指定白板文件的内容。

Parameter fileId 白板文件ID。

Parameter type WBClearType 枚举类型。

Returns

  • OK:成功。
  • NO_PRIVILEGE: 没有权限。
  • Others: 失败。

Note 只有 ADMIN 角色才可以调用。

Implementation

Future<ResultCode> clearDocContents(String fileId, WBClearType type);