From 766acdcdb020d35f7ba0c75387b029d127ee07db Mon Sep 17 00:00:00 2001 From: liujiaxing2024 Date: Thu, 28 Aug 2025 12:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85setEventParam=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3API12=E9=81=97=E6=BC=8F=E9=94=99=E8=AF=AF=E7=A0=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liujiaxing2024 Change-Id: Iab6867a65f8b8dbbf779c8e3dd1acc83f36c6185 --- api/@ohos.hiviewdfx.hiAppEvent.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/@ohos.hiviewdfx.hiAppEvent.d.ts b/api/@ohos.hiviewdfx.hiAppEvent.d.ts index fd489ee6cd..7c29a94a39 100644 --- a/api/@ohos.hiviewdfx.hiAppEvent.d.ts +++ b/api/@ohos.hiviewdfx.hiAppEvent.d.ts @@ -1048,6 +1048,14 @@ declare namespace hiAppEvent { * @returns { Promise } Promise that returns no value. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. + * @throws { BusinessError } 11100001 - Function disabled. Possible caused by the param disable in ConfigOption is true. + * @throws { BusinessError } 11101001 - Invalid event domain. Possible causes: 1. Contain invalid characters; + *
2. Length is invalid. + * @throws { BusinessError } 11101002 - Invalid event name. Possible causes: 1. Contain invalid characters; + *
2. Length is invalid. + * @throws { BusinessError } 11101004 - Invalid string length of the event parameter. + * @throws { BusinessError } 11101005 - Invalid event parameter name. Possible causes: 1. Contain invalid characters; + *
2. Length is invalid. * @throws { BusinessError } 11101007 - The number of parameter keys exceeds the limit. * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent -- Gitee