From 25a32fe50813c48c1053a9fd8c75786655fe1ce3 Mon Sep 17 00:00:00 2001 From: caochuan Date: Fri, 27 Jun 2025 10:38:20 +0800 Subject: [PATCH] cutom records Signed-off-by: caochuan --- api/@ohos.file.photoAccessHelper.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 0d764b644f..07d1cb73a8 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -10646,15 +10646,15 @@ declare namespace photoAccessHelper { */ getCustomRecords(optionCheck: FetchOptions): Promise>; /** - * Set custom record. + * Set custom records. * A maximum of 200 custom records can be set at once. * - * @param { Array } customRecords - Custom records - * @returns { Promise> } Returns list of fileIds in photoAssetCustomRecord which set failed + * @param { Array } customRecords - Custom records. + * @returns { Promise> } Returns list of fileId in photoAssetCustomRecord which set failed * @throws { BusinessError } 202 - Called by non-system application - * @throws { BusinessError } 23800151 - Scenario parameters fail to pass the verification. Possible causes: + * @throws { BusinessError } 23800151 - Scenario parameters fail to pass the verification.Possible causes: *
1. The value range of mandatory parameters in photoAssetCustomRecord does not meet the requirements. - *
2. The transferred record already exists. 3. The number of transferred records exceeds 200. + *
2. The number of transferred records exceeds 200. * @throws { BusinessError } 23800301 - Internal system error. It is recommended to retry and check the logs. *
Possible causes: 1. Database corrupted; 2. The file system is abnormal; 3. The IPC request timed out. * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core -- Gitee