From 9566ced03a07be786718803a8a17875457ed15db Mon Sep 17 00:00:00 2001 From: wanghao1717 Date: Thu, 19 Jun 2025 16:02:47 +0800 Subject: [PATCH] fix 201 Signed-off-by: wanghao1717 --- api/@ohos.multimodalInput.inputDevice.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.multimodalInput.inputDevice.d.ts b/api/@ohos.multimodalInput.inputDevice.d.ts index c6d707612f..1bec2bddfb 100644 --- a/api/@ohos.multimodalInput.inputDevice.d.ts +++ b/api/@ohos.multimodalInput.inputDevice.d.ts @@ -733,7 +733,7 @@ declare namespace inputDevice { * @param { boolean } enabled - Switch status of the input device. The value true indicates that the input device is enabled, * and the value false indicates the opposite. * @returns { Promise } Returns the result through a promise. - * @throws { BusinessError } 201 - Permission verification failed. + * @throws { BusinessError } 201 - Permission denied. * The application does not have the permission required to call the API * @throws { BusinessError } 202 - Permission verification failed. * A non-system application calls a system API. @@ -757,7 +757,7 @@ declare namespace inputDevice { * @param { boolean } enabled - Status of the function key. The value true indicates that the function key is enabled, * and the value false indicates the opposite. * @returns { Promise } Returns the result through a promise. - * @throws { BusinessError } 201 - Permission verification failed. + * @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. * @throws { BusinessError } 3900002 - There is currently no keyboard device connected. -- Gitee