clearUserContents abstract method
clear whiteboard content by specific user ID
Parameter userId
user ID
Parameter curPage
true
: clear current page only; false
: clear all pages
Parameter type
WBClearType enum type
Returns
- ResultCode.OK Success
- Others: Fail
Note If the user isn't current user, the operation requires admin role.
清除指定用户绘制的白板内容
Parameter userId
用户ID
Parameter curPage
true
: 只清除当前页内容;false
: 清除所有页内容
Parameter type
WBClearType 枚举类型
Returns
- ResultCode.OK: 成功
- Others: 失败
Note 如果指定用户不是当前用户,此操作需要管理员角色。
Implementation
Future<ResultCode> clearUserContents(
String userId, bool curPage, WBClearType type);