clearContents method
clear whiteboard content
Parameter curPage
true
: clear current page only; false
: clear all pages
Parameter type
WBClearType enum type
Returns
- ResultCode.OK Success
- Others: Fail
Note The operation requires admin role.
清除白板内容
Parameter curPage
true
: 只清除当前页内容;false
: 清除所有页内容
Parameter type
WBClearType 枚举类型
Returns
- ResultCode.OK: 成功
- Others: 失败
Note 此操作需要管理员角色。
Implementation
@override
Future<ResultCode> clearContents(bool curPage, WBClearType type) {
return _invokeCodeMethod('clearContents',
{'curPage': curPage, 'type': WBClearTypeConverter(type).value()});
}