删除api9权限废弃相关描述

Signed-off-by: wufengshan <wufengshan@huawei.com>
This commit is contained in:
wufengshan 2022-06-01 09:39:34 +08:00
parent ccb3c03c37
commit 1a7e2ea54e

View File

@ -82,19 +82,13 @@ declare namespace distributedDataObject {
* @since 8
*/
interface DistributedObject {
/**
* Change object session.
* @param sessionId The sessionId to be joined, if empty, leave all session.
* @return Operation result, true is success, false is failed.
* @depcreated since 9
* @since 8
*/
/**
* Change object session.
* @param sessionId The sessionId to be joined, if empty, leave all session.
* @return Operation result, true is success, false is failed.
/*
* Change object session
*
* @param sessionId The sessionId to be joined, if empty, leave all session
* @return Operation result, true is success, false is failed
* @permission ohos.permission.DISTRIBUTED_DATASYNC
* @since 9
* @since 8
*/
setSessionId(sessionId?: string): boolean;