diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 0d764b644fdd00820b3b01e9d2cdb25beaa22665..07d1cb73a80478f506e3b4f1859dd2ef094b1719 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