From b39168e537eecae56e801d8fe6ae5ef7bb6599a2 Mon Sep 17 00:00:00 2001 From: wangchuanzong Date: Fri, 20 Jun 2025 12:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AA=92=E4=BD=93=E5=BA=93=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=A0=81=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangchuanzong --- api/@ohos.file.photoAccessHelper.d.ts | 38 +++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index c83493f8d4..b92a5d57f8 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -1484,7 +1484,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback } callback - Callback that returns no value. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000001 - Invalid display name * @throws { BusinessError } 14000011 - System inner fail @@ -1515,7 +1515,7 @@ declare namespace photoAccessHelper { * @returns { Promise } Returns void * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000001 - Invalid display name * @throws { BusinessError } 14000011 - System inner fail @@ -1568,7 +1568,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback } callback - Callback used to return the file descriptor (FD) of the file opened. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -1583,7 +1583,7 @@ declare namespace photoAccessHelper { * @returns { Promise } Returns the read only fd * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4193,7 +4193,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback> } callback - Callback used to return the image and video assets obtained. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4238,7 +4238,7 @@ declare namespace photoAccessHelper { * @returns { Promise> } Returns the fetch result * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4381,7 +4381,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback } callback - Returns void * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4396,7 +4396,7 @@ declare namespace photoAccessHelper { * @returns { Promise } Returns void * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4413,7 +4413,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback } callback - Callback that returns no value. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4431,7 +4431,7 @@ declare namespace photoAccessHelper { * @returns { Promise } Returns void * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4449,7 +4449,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback } callback - Callback that returns no value. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4467,7 +4467,7 @@ declare namespace photoAccessHelper { * @returns { Promise } Returns void * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4659,7 +4659,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback> } callback - Callback used to return the image and video assets obtained. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4849,7 +4849,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback } callback - Callback used to return the URI of the created image or video asset. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4884,7 +4884,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback } callback - Callback used to return the URI of the created image or video asset. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -4921,7 +4921,7 @@ declare namespace photoAccessHelper { * @returns { Promise } Returns the uri of the newly created asset * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -5038,7 +5038,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback> } callback - Callback used to return the result. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -5078,7 +5078,7 @@ declare namespace photoAccessHelper { * @param { AsyncCallback> } callback - Callback used to return the result. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core @@ -5115,7 +5115,7 @@ declare namespace photoAccessHelper { * @returns { Promise> } - Returns the fetch result * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. - * @throws { BusinessError } 13900012 - Permission denied + * @throws { BusinessError } 201 - Permission denied * @throws { BusinessError } 13900020 - Invalid argument * @throws { BusinessError } 14000011 - System inner fail * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core -- Gitee