From e2b1d05858bb184df36b2c4fa9ac14fa28ee3e13 Mon Sep 17 00:00:00 2001 From: zhouyan Date: Fri, 30 Jun 2023 11:31:00 +0800 Subject: [PATCH] =?UTF-8?q?fixed=2054e44a3=20from=20https://gitee.com/yydw?= =?UTF-8?q?fzysy/docs/pulls/20293=20=E9=9A=90=E7=A7=81=E8=B5=84=E6=96=99?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E6=80=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouyan Change-Id: Ifd670810d3ea913ba4b15aa49dee4f214a8107ea --- .../reference/apis/js-apis-privacyManager.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-privacyManager.md b/zh-cn/application-dev/reference/apis/js-apis-privacyManager.md index a4e435df6d..7698bd864c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-privacyManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-privacyManager.md @@ -266,7 +266,7 @@ startUsingPermission(tokenID: number, permissionName: Permissions): Promise<v | 错误码ID | 错误信息 | | -------- | -------- | -| 12100001 | The parameter is invalid. The tokenID is 0, or the string size of permissionName is larger than 256. | +| 12100001 | The tokenID is 0, permissionName is longer than 256 bytes, or the count value is invalid. | | 12100002 | The specified tokenID does not exist or refer to an application process. | | 12100003 | The specified permission does not exist or is not an user_grant permission. | | 12100004 | The interface is called repeatedly with the same input. It means the application specified by the tokenID has been using the specified permission. | @@ -314,7 +314,7 @@ startUsingPermission(tokenID: number, permissionName: Permissions, callback: Asy | 错误码ID | 错误信息 | | -------- | -------- | -| 12100001 | The parameter is invalid. The tokenID is 0, or the string size of permissionName is larger than 256. | +| 12100001 | The tokenID is 0, permissionName is longer than 256 bytes, or the count value is invalid. | | 12100002 | The specified tokenID does not exist or refer to an application process. | | 12100003 | The specified permission does not exist or is not an user_grant permission. | | 12100004 | The interface is called repeatedly with the same input. It means the application specified by the tokenID has been using the specified permission. | @@ -369,7 +369,7 @@ stopUsingPermission(tokenID: number, permissionName: Permissions): Promise<vo | 错误码ID | 错误信息 | | -------- | -------- | -| 12100001 | The parameter is invalid. The tokenID is 0, or the string size of permissionName is larger than 256. | +| 12100001 | The tokenID is 0, permissionName is longer than 256 bytes, or the count value is invalid. | | 12100002 | The specified tokenID does not exist or refer to an application process. | | 12100003 | The specified permission does not exist or is not an user_grant permission. | | 12100004 | The interface is not used with | @@ -417,7 +417,7 @@ stopUsingPermission(tokenID: number, permissionName: Permissions, callback: Asyn | 错误码ID | 错误信息 | | -------- | -------- | -| 12100001 | The parameter is invalid. The tokenID is 0, or the string size of permissionName is larger than 256. | +| 12100001 | The tokenID is 0, permissionName is longer than 256 bytes, or the count value is invalid. | | 12100002 | The specified tokenID does not exist or refer to an application process. | | 12100003 | The specified permission does not exist or is not an user_grant permission. | | 12100004 | The interface is not used with | -- GitLab