From e93d070a8308d41a561a56fc0dcedd2c4f17785c Mon Sep 17 00:00:00 2001 From: wufengshan Date: Fri, 27 May 2022 17:20:19 +0800 Subject: [PATCH] =?UTF-8?q?api=E6=9B=B4=E6=96=B0=E6=9D=83=E9=99=90?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.data.distributedDataObject.d.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/api/@ohos.data.distributedDataObject.d.ts b/api/@ohos.data.distributedDataObject.d.ts index c788a7b735..76cf3e5418 100644 --- a/api/@ohos.data.distributedDataObject.d.ts +++ b/api/@ohos.data.distributedDataObject.d.ts @@ -48,13 +48,19 @@ declare namespace distributedDataObject { */ 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 - * @permission ohos.permission.DISTRIBUTED_DATASYNC + * 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. + * @permission ohos.permission.DISTRIBUTED_DATASYNC + * @since 9 + */ setSessionId(sessionId?: string): boolean; /** -- Gitee