From bc28e01bd2b5433a3c7413b58564505b17d573ad Mon Sep 17 00:00:00 2001 From: "@ran-zhao-yu" Date: Tue, 7 May 2024 14:34:32 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=A0=81=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: @ran-zhao-yu --- api/@ohos.resourceManager.d.ts | 1118 ++++++++--------- .../plugin/dictionaries_supplementary.txt | 1 + 2 files changed, 560 insertions(+), 559 deletions(-) diff --git a/api/@ohos.resourceManager.d.ts b/api/@ohos.resourceManager.d.ts index 9c6812073..7c6c2c7cf 100644 --- a/api/@ohos.resourceManager.d.ts +++ b/api/@ohos.resourceManager.d.ts @@ -780,7 +780,7 @@ declare namespace resourceManager { * resConfig is default value(contains resLocale, screenDensityDpi, direction, etc). * * @returns { ResourceManager } The System ResourceManager object is returned. - * @throws { BusinessError } 9001009 - If application can't access system resource + * @throws { BusinessError } 9001009 - Failed to access the system resource. * which is not mapped to application sandbox, This error code will be thrown. * @syscap SystemCapability.Global.ResourceManager * @since 10 @@ -790,7 +790,7 @@ declare namespace resourceManager { * resConfig is default value(contains resLocale, screenDensityDpi, direction, etc). * * @returns { ResourceManager } The System ResourceManager object is returned. - * @throws { BusinessError } 9001009 - If application can't access system resource + * @throws { BusinessError } 9001009 - Failed to access the system resource. * which is not mapped to application sandbox, This error code will be thrown. * @syscap SystemCapability.Global.ResourceManager * @crossplatform @@ -854,9 +854,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -867,9 +867,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -881,9 +881,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -898,9 +898,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -911,9 +911,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -925,9 +925,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -966,9 +966,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -979,9 +979,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -993,9 +993,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1010,9 +1010,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise> } The array of character strings corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -1023,9 +1023,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise> } The array of character strings corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1037,9 +1037,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise> } The array of character strings corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1078,8 +1078,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -1090,8 +1090,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1103,8 +1103,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1122,8 +1122,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained * specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -1137,8 +1137,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained * specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1153,8 +1153,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The content of the media file corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -1165,8 +1165,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The content of the media file corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1178,8 +1178,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The content of the media file corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1197,8 +1197,8 @@ declare namespace resourceManager { * @returns { Promise } The content of the specified screen density media file corresponding to the * specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -1212,8 +1212,8 @@ declare namespace resourceManager { * @returns { Promise } The content of the specified screen density media file corresponding to the * specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1254,8 +1254,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -1267,8 +1267,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1281,8 +1281,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1300,8 +1300,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the * specified screen density image resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -1315,8 +1315,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the * specified screen density image resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1331,8 +1331,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The Base64 code of the image resource corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -1343,8 +1343,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The Base64 code of the image resource corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1356,8 +1356,8 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } The Base64 code of the image resource corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1374,8 +1374,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } The Base64 code of the specified screen density image resource corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -1388,8 +1388,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } The Base64 code of the specified screen density image resource corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1544,9 +1544,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the resource object string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -1560,9 +1560,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the resource object string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1577,9 +1577,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the resource object string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1597,9 +1597,9 @@ declare namespace resourceManager { * @returns { Promise } The singular-plural character string represented by the resource object string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -1613,9 +1613,9 @@ declare namespace resourceManager { * @returns { Promise } The singular-plural character string represented by the resource object string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1630,9 +1630,9 @@ declare namespace resourceManager { * @returns { Promise } The singular-plural character string represented by the resource object string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -1719,9 +1719,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -1731,9 +1731,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -1744,9 +1744,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -1760,9 +1760,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -1772,9 +1772,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -1785,9 +1785,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -1801,9 +1801,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -1813,9 +1813,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -1826,9 +1826,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -1842,9 +1842,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise> } the array of character strings corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -1854,9 +1854,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise> } the array of character strings corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -1867,9 +1867,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise> } the array of character strings corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -1883,8 +1883,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -1894,8 +1894,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -1906,8 +1906,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -1924,8 +1924,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained * specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -1938,8 +1938,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained * specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -1953,8 +1953,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The content of the media file corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -1964,8 +1964,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The content of the media file corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -1976,8 +1976,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The content of the media file corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -1994,8 +1994,8 @@ declare namespace resourceManager { * @returns { Promise } The content of the specified screen density media file corresponding to the * specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -2008,8 +2008,8 @@ declare namespace resourceManager { * @returns { Promise } The content of the specified screen density media file corresponding to the * specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2024,8 +2024,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2036,8 +2036,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2049,8 +2049,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2067,8 +2067,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the * specified screen density image resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -2081,8 +2081,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the * specified screen density image resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2096,8 +2096,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The Base64 code of the image resource corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2107,8 +2107,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The Base64 code of the image resource corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2119,8 +2119,8 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } The Base64 code of the image resource corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2136,8 +2136,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } The Base64 code of the specified screen density image resource corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -2149,8 +2149,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } The Base64 code of the specified screen density image resource corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2167,9 +2167,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the name string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2182,9 +2182,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the name string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2198,9 +2198,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the name string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2217,9 +2217,9 @@ declare namespace resourceManager { * @returns { Promise } the singular-plural character string represented by the name string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2232,9 +2232,9 @@ declare namespace resourceManager { * @returns { Promise } the singular-plural character string represented by the name string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2248,9 +2248,9 @@ declare namespace resourceManager { * @returns { Promise } the singular-plural character string represented by the name string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2264,9 +2264,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { string } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2276,9 +2276,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { string } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2289,9 +2289,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { string } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2306,10 +2306,10 @@ declare namespace resourceManager { * @param { Array } args - Indicates the formatting string resource parameters. * @returns { string } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. - * @throws { BusinessError } 9001007 - If the resource obtained by resId formatting error. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. + * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2321,10 +2321,10 @@ declare namespace resourceManager { * @param { Array } args - Indicates the formatting string resource parameters. * @returns { string } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. - * @throws { BusinessError } 9001007 - If the resource obtained by resId formatting error. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. + * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2338,9 +2338,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { string } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -2351,9 +2351,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { string } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2365,9 +2365,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { string } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2383,10 +2383,10 @@ declare namespace resourceManager { * @param { Array } args - Indicates the formatting string resource parameters. * @returns { string } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. - * @throws { BusinessError } 9001007 - If the resource obtained by resId formatting error. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. + * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2399,10 +2399,10 @@ declare namespace resourceManager { * @param { Array } args - Indicates the formatting string resource parameters. * @returns { string } The character string corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. - * @throws { BusinessError } 9001007 - If the resource obtained by resId formatting error. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. + * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2417,9 +2417,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { string } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2429,9 +2429,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { string } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2442,9 +2442,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { string } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2459,10 +2459,10 @@ declare namespace resourceManager { * @param { Array } args - Indicates the formatting string resource parameters. * @returns { string } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. - * @throws { BusinessError } 9001008 - If the resource obtained by resName formatting error. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. + * @throws { BusinessError } 9001008 - Failed to format the resorce obtained based on the resource Name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2474,10 +2474,10 @@ declare namespace resourceManager { * @param { Array } args - Indicates the formatting string resource parameters. * @returns { string } The character string corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. - * @throws { BusinessError } 9001008 - If the resource obtained by resName formatting error. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. + * @throws { BusinessError } 9001008 - Failed to format the resorce obtained based on the resource Name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2491,9 +2491,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { boolean } The boolean resource corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2503,9 +2503,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { boolean } The boolean resource corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2516,9 +2516,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { boolean } The boolean resource corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2532,9 +2532,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { boolean } The boolean resource corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -2545,9 +2545,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { boolean } The boolean resource corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2559,9 +2559,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { boolean } The boolean resource corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2576,9 +2576,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { boolean } The boolean resource corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2588,9 +2588,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { boolean } The boolean resource corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2601,9 +2601,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { boolean } The boolean resource corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2617,9 +2617,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { number } The number resource corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2629,9 +2629,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { number } The number resource corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2642,9 +2642,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { number } The number resource corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2658,9 +2658,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { number } The number resource corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 9 @@ -2671,9 +2671,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { number } The number resource corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2685,9 +2685,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { number } The number resource corresponding to the resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2702,9 +2702,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { number } The number resource corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2714,9 +2714,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { number } The number resource corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2727,9 +2727,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { number } The number resource corresponding to the resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2766,9 +2766,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2778,9 +2778,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2791,9 +2791,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained character string. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2807,9 +2807,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2819,9 +2819,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2832,9 +2832,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } The character string corresponding to the resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2848,9 +2848,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2860,9 +2860,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2873,9 +2873,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the obtained array of character strings. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2889,9 +2889,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise> } The array of character strings corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2901,9 +2901,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise> } The array of character strings corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2914,9 +2914,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise> } The array of character strings corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2933,9 +2933,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the ID string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2948,9 +2948,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the ID string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2964,9 +2964,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the singular-plural character * string represented by the ID string corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2983,9 +2983,9 @@ declare namespace resourceManager { * @returns { Promise } The singular-plural character string represented by the ID string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -2998,9 +2998,9 @@ declare namespace resourceManager { * @returns { Promise } The singular-plural character string represented by the ID string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3014,9 +3014,9 @@ declare namespace resourceManager { * @returns { Promise } The singular-plural character string represented by the ID string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3030,8 +3030,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3041,8 +3041,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3053,8 +3053,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3071,8 +3071,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained * specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3085,8 +3085,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained * specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3100,8 +3100,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } The content of the media file corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3111,8 +3111,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } The content of the media file corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3123,8 +3123,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } The content of the media file corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3140,8 +3140,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } The content of the specified screen density media file corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3153,8 +3153,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } The content of the specified screen density media file corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3169,8 +3169,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3181,8 +3181,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3194,8 +3194,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the image * resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3212,8 +3212,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the * specified screen density image resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3226,8 +3226,8 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the obtained Base64 code of the * specified screen density image resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3241,8 +3241,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } the Base64 code of the image resource corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3252,8 +3252,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } the Base64 code of the image resource corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3264,8 +3264,8 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } the Base64 code of the image resource corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3281,8 +3281,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } the Base64 code of the specified screen density image resource corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3294,8 +3294,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Promise } the Base64 code of the specified screen density image resource corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3309,7 +3309,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the raw file resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3319,7 +3319,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the raw file resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3330,7 +3330,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the raw file resource. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3344,7 +3344,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } the raw file resource corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3354,7 +3354,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } the raw file resource corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3365,7 +3365,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } the raw file resource corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3379,7 +3379,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3389,7 +3389,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3400,7 +3400,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return the raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3414,7 +3414,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } The raw file resource descriptor corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3424,7 +3424,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } The raw file resource descriptor corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3435,7 +3435,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } The raw file resource descriptor corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3449,7 +3449,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return result close raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3459,7 +3459,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return result close raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3470,7 +3470,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to return result close raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3484,7 +3484,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } The result close raw file resource descriptor corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 9 */ @@ -3494,7 +3494,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } The result close raw file resource descriptor corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -3505,7 +3505,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise } The result close raw file resource descriptor corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3521,8 +3521,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { DrawableDescriptor } The DrawableDescriptor class to get drawable image. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3536,8 +3536,8 @@ declare namespace resourceManager { * the normal media. * @returns { DrawableDescriptor } The DrawableDescriptor class to get drawable image. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @atomicservice * @since 11 @@ -3552,8 +3552,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { DrawableDescriptor } The DrawableDescriptor class to get drawable image. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3567,8 +3567,8 @@ declare namespace resourceManager { * the normal media. * @returns { DrawableDescriptor } The DrawableDescriptor class to get drawable image. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @atomicservice * @since 11 @@ -3583,8 +3583,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { DrawableDescriptor } The DrawableDescriptor class to get drawable image. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -3599,8 +3599,8 @@ declare namespace resourceManager { * the normal media. * @returns { DrawableDescriptor } The DrawableDescriptor class to get drawable image. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @atomicservice @@ -3614,7 +3614,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the raw file list. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3624,7 +3624,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @param { _AsyncCallback> } callback - Indicates the asynchronous callback used to return the raw file list. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3638,7 +3638,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise> } The rawfile list corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3648,7 +3648,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Promise> } The rawfile list corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3663,9 +3663,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to * return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3676,9 +3676,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to * return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3692,9 +3692,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } Indicates return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3704,9 +3704,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Promise } Indicates return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3721,9 +3721,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to * return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -3735,9 +3735,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to * return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -3752,9 +3752,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } Indicates return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -3765,9 +3765,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Promise } Indicates return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -3783,9 +3783,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to * return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3796,9 +3796,9 @@ declare namespace resourceManager { * @param { _AsyncCallback } callback - Indicates the asynchronous callback used to * return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3812,9 +3812,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } Indicates return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3824,9 +3824,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Promise } Indicates return the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3840,9 +3840,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { number } Indicates the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3852,9 +3852,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { number } Indicates the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3868,9 +3868,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { number } Indicates the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -3881,9 +3881,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { number } Indicates the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -3898,9 +3898,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { number } Indicates the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3910,9 +3910,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { number } Indicates the integer reference value representing the color data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3925,7 +3925,7 @@ declare namespace resourceManager { * * @param { string } path - Indicates the application overlay path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001010 - If the overlay path is invalid. + * @throws { BusinessError } 9001010 - Invalid overlay path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3934,7 +3934,7 @@ declare namespace resourceManager { * * @param { string } path - Indicates the application overlay path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001010 - If the overlay path is invalid. + * @throws { BusinessError } 9001010 - Invalid overlay path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3947,7 +3947,7 @@ declare namespace resourceManager { * * @param { string } path - Indicates the application overlay path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001010 - If the overlay path is invalid. + * @throws { BusinessError } 9001010 - Invalid overlay path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3956,7 +3956,7 @@ declare namespace resourceManager { * * @param { string } path - Indicates the application overlay path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001010 - If the overlay path is invalid. + * @throws { BusinessError } 9001010 - Invalid overlay path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3970,7 +3970,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { RawFileDescriptor } The raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -3980,7 +3980,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { RawFileDescriptor } The raw file resource descriptor. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -3993,7 +3993,7 @@ declare namespace resourceManager { * * @param { string } path - Indicates the resource relative path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4002,7 +4002,7 @@ declare namespace resourceManager { * * @param { string } path - Indicates the resource relative path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4016,7 +4016,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Array } The rawfile resource list. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4026,7 +4026,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Array } The rawfile resource list. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4040,7 +4040,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Uint8Array } the raw file resource corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4050,7 +4050,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the resource relative path. * @returns { Uint8Array } the raw file resource corresponding to the specified resource path. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4066,8 +4066,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Uint8Array } Indicates the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4079,8 +4079,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Uint8Array } Indicates the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4096,8 +4096,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Uint8Array } Indicates the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -4110,8 +4110,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Uint8Array } Indicates the obtained media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -4128,8 +4128,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { string } Indicates the obtained Base64 code of the media file. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4141,8 +4141,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { string } Indicates the obtained Base64 code of the media file. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4158,8 +4158,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { string } Indicates the obtained Base64 code of the media file. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -4172,8 +4172,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { string } Indicates the obtained Base64 code of the media file. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -4191,9 +4191,9 @@ declare namespace resourceManager { * @returns { string } The singular-plural character string represented by the ID string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4206,9 +4206,9 @@ declare namespace resourceManager { * @returns { string } The singular-plural character string represented by the ID string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4225,9 +4225,9 @@ declare namespace resourceManager { * @returns { string } The singular-plural character string represented by the ID string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -4241,9 +4241,9 @@ declare namespace resourceManager { * @returns { string } The singular-plural character string represented by the ID string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -4258,9 +4258,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Array } The array of character strings corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4270,9 +4270,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { Array } The array of character strings corresponding to the specified resource ID. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4286,9 +4286,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Array } The array of character strings corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @since 10 @@ -4299,9 +4299,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { Array } The array of character strings corresponding to the specified resource object. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the module resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by module resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -4319,9 +4319,9 @@ declare namespace resourceManager { * @returns { string } The singular-plural character string represented by the name string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4334,9 +4334,9 @@ declare namespace resourceManager { * @returns { string } The singular-plural character string represented by the name string * corresponding to the specified number. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4352,8 +4352,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Uint8Array } The obtained specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4365,8 +4365,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { Uint8Array } The obtained specified screen density media file content. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4382,8 +4382,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { string } The obtained Base64 code of the specified screen density media file. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4395,8 +4395,8 @@ declare namespace resourceManager { * to use the density of current system dpi. * @returns { string } The obtained Base64 code of the specified screen density media file. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: 1.Incorrect parameter types; 2.Parameter verification failed. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4410,9 +4410,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Array } the array of character strings corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @since 10 */ @@ -4422,9 +4422,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { Array } the array of character strings corresponding to the specified resource name. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4488,9 +4488,9 @@ declare namespace resourceManager { * @param { number } resId - Indicates the resource ID. * @returns { number } Indicates the integer reference value representing the symbol data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4504,9 +4504,9 @@ declare namespace resourceManager { * @param { Resource } resource - Indicates the resource object. * @returns { number } Indicates the integer reference value representing the symbol data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001001 - If the resId invalid. - * @throws { BusinessError } 9001002 - If the resource not found by resId. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001001 - Invalid resource ID. + * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -4521,9 +4521,9 @@ declare namespace resourceManager { * @param { string } resName - Indicates the resource name. * @returns { number } Indicates the integer reference value representing the symbol data. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001003 - If the resName invalid. - * @throws { BusinessError } 9001004 - If the resource not found by resName. - * @throws { BusinessError } 9001006 - If the resource re-ref too much. + * @throws { BusinessError } 9001003 - Invalid resource name. + * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. + * @throws { BusinessError } 9001006 - The resource is referenced cyclically. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4537,7 +4537,7 @@ declare namespace resourceManager { * @param { string } path - Indicates the rawfile resource relative path. * @returns { boolean } True means the file path is directory, else false. * @throws { BusinessError } 401 - If the input parameter invalid. Possible causes: Incorrect parameter types. - * @throws { BusinessError } 9001005 - If the resource not found by path. + * @throws { BusinessError } 9001005 - Invalid relative path. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice diff --git a/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt b/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt index b615affa5..1a2418fc6 100644 --- a/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt +++ b/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt @@ -173,6 +173,7 @@ csh cubemap cug cyclewindows +cyclically daltonization darkens darkest From 58bc4a5eacacd786ea92310159fe16e4f3d288a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=89=E5=8F=AC=E5=AE=87?= Date: Tue, 7 May 2024 12:11:36 +0000 Subject: [PATCH 2/5] update api/@ohos.resourceManager.d.ts. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 冉召宇 --- api/@ohos.resourceManager.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/@ohos.resourceManager.d.ts b/api/@ohos.resourceManager.d.ts index 7c6c2c7cf..bb38fa4fc 100644 --- a/api/@ohos.resourceManager.d.ts +++ b/api/@ohos.resourceManager.d.ts @@ -4598,6 +4598,7 @@ declare namespace resourceManager { /** * Contains rawFile descriptor information. * + * @typedef {_RawFileDescriptor} * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -4621,6 +4622,7 @@ declare namespace resourceManager { /** * Contains resource descriptor information. * + * @typedef {_Resource} * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice From 5e125f3f05a617175a6c68ddae3cf592f4833d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=89=E5=8F=AC=E5=AE=87?= Date: Wed, 8 May 2024 07:33:37 +0000 Subject: [PATCH 3/5] update build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 冉召宇 --- .../api_check_plugin/plugin/dictionaries_supplementary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt b/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt index 1a2418fc6..32f6b32ed 100644 --- a/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt +++ b/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt @@ -762,6 +762,7 @@ replacer reposition resizeable resmgr +resource resourceschedule restores restricts From 5e760d3a5fb0df42f40980b9519d491a333e385b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=89=E5=8F=AC=E5=AE=87?= Date: Wed, 8 May 2024 08:40:24 +0000 Subject: [PATCH 4/5] update build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 冉召宇 --- .../api_check_plugin/plugin/dictionaries_supplementary.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt b/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt index 32f6b32ed..1a2418fc6 100644 --- a/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt +++ b/build-tools/api_check_plugin/plugin/dictionaries_supplementary.txt @@ -762,7 +762,6 @@ replacer reposition resizeable resmgr -resource resourceschedule restores restricts From b43c9c10769000e23512658d3b479c5a966667bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=89=E5=8F=AC=E5=AE=87?= Date: Wed, 8 May 2024 08:41:25 +0000 Subject: [PATCH 5/5] update api/@ohos.resourceManager.d.ts. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 冉召宇 --- api/@ohos.resourceManager.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/@ohos.resourceManager.d.ts b/api/@ohos.resourceManager.d.ts index bb38fa4fc..0724f0a78 100644 --- a/api/@ohos.resourceManager.d.ts +++ b/api/@ohos.resourceManager.d.ts @@ -2309,7 +2309,7 @@ declare namespace resourceManager { * @throws { BusinessError } 9001001 - Invalid resource ID. * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @throws { BusinessError } 9001006 - The resource is referenced cyclically. - * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. + * @throws { BusinessError } 9001007 - Failed to format the resource obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2324,7 +2324,7 @@ declare namespace resourceManager { * @throws { BusinessError } 9001001 - Invalid resource ID. * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @throws { BusinessError } 9001006 - The resource is referenced cyclically. - * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. + * @throws { BusinessError } 9001007 - Failed to format the resource obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice @@ -2386,7 +2386,7 @@ declare namespace resourceManager { * @throws { BusinessError } 9001001 - Invalid resource ID. * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @throws { BusinessError } 9001006 - The resource is referenced cyclically. - * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. + * @throws { BusinessError } 9001007 - Failed to format the resource obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2402,7 +2402,7 @@ declare namespace resourceManager { * @throws { BusinessError } 9001001 - Invalid resource ID. * @throws { BusinessError } 9001002 - No matching resource is found based on the resource ID. * @throws { BusinessError } 9001006 - The resource is referenced cyclically. - * @throws { BusinessError } 9001007 - Failed to format the resorce obtained based on the resource ID. + * @throws { BusinessError } 9001007 - Failed to format the resource obtained based on the resource ID. * @syscap SystemCapability.Global.ResourceManager * @stagemodelonly * @crossplatform @@ -2462,7 +2462,7 @@ declare namespace resourceManager { * @throws { BusinessError } 9001003 - Invalid resource name. * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @throws { BusinessError } 9001006 - The resource is referenced cyclically. - * @throws { BusinessError } 9001008 - Failed to format the resorce obtained based on the resource Name. + * @throws { BusinessError } 9001008 - Failed to format the resource obtained based on the resource Name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @since 10 @@ -2477,7 +2477,7 @@ declare namespace resourceManager { * @throws { BusinessError } 9001003 - Invalid resource name. * @throws { BusinessError } 9001004 - No matching resource is found based on the resource name. * @throws { BusinessError } 9001006 - The resource is referenced cyclically. - * @throws { BusinessError } 9001008 - Failed to format the resorce obtained based on the resource Name. + * @throws { BusinessError } 9001008 - Failed to format the resource obtained based on the resource Name. * @syscap SystemCapability.Global.ResourceManager * @crossplatform * @atomicservice