From 8fbba706c7dfcecedc314ee13e23a59a140bd4a3 Mon Sep 17 00:00:00 2001 From: shaoyuanzhao Date: Wed, 6 Nov 2024 14:25:25 +0800 Subject: [PATCH] fix errorcode Signed-off-by: blc --- api/@ohos.inputMethod.d.ts | 88 ++++++++++++++++---------------- api/@ohos.inputMethodEngine.d.ts | 26 +++++----- 2 files changed, 57 insertions(+), 57 deletions(-) diff --git a/api/@ohos.inputMethod.d.ts b/api/@ohos.inputMethod.d.ts index a12403657..7bb78cc03 100644 --- a/api/@ohos.inputMethod.d.ts +++ b/api/@ohos.inputMethod.d.ts @@ -65,7 +65,7 @@ declare namespace inputMethod { * Input method setting * * @returns { InputMethodSetting } the object of InputMethodSetting. - * @throws { BusinessError } 12800007 - settings extension error. + * @throws { BusinessError } 12800007 - setter error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 */ @@ -110,7 +110,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -122,7 +122,7 @@ declare namespace inputMethod { * @param { AsyncCallback } callback - the callback of switchInputMethod. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 @@ -138,7 +138,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -150,7 +150,7 @@ declare namespace inputMethod { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 @@ -175,7 +175,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -189,7 +189,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 @@ -201,7 +201,7 @@ declare namespace inputMethod { * @param { AsyncCallback } callback - the callback of switchCurrentInputMethodSubtype. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 @@ -217,7 +217,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -231,7 +231,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 @@ -243,7 +243,7 @@ declare namespace inputMethod { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 @@ -269,7 +269,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -282,7 +282,7 @@ declare namespace inputMethod { * @param { AsyncCallback } callback - the callback of switchCurrentInputMethodAndSubtype. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 @@ -303,7 +303,7 @@ declare namespace inputMethod { * @throws { BusinessError } 201 - permissions check fails. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -316,7 +316,7 @@ declare namespace inputMethod { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 @@ -338,7 +338,7 @@ declare namespace inputMethod { * @throws { BusinessError } 202 - not system application. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800005 - configuration persisting error. + * @throws { BusinessError } 12800005 - configuration persistence error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @systemapi @@ -451,7 +451,7 @@ declare namespace inputMethod { * @param { AsyncCallback> } callback - the callback of listInputMethodSubtype. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800001 - package manager error. + * @throws { BusinessError } 12800001 - bundle manager error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -468,7 +468,7 @@ declare namespace inputMethod { * @returns { Promise> } the promise returned by the function. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800001 - package manager error. + * @throws { BusinessError } 12800001 - bundle manager error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -479,7 +479,7 @@ declare namespace inputMethod { * List subtype of current input method * * @param { AsyncCallback> } callback - the callback of listCurrentInputMethodSubtype. - * @throws { BusinessError } 12800001 - package manager error. + * @throws { BusinessError } 12800001 - bundle manager error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -490,7 +490,7 @@ declare namespace inputMethod { * List subtype of current input method * * @returns { Promise> } the promise returned by the function. - * @throws { BusinessError } 12800001 - package manager error. + * @throws { BusinessError } 12800001 - bundle manager error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -506,7 +506,7 @@ declare namespace inputMethod { * @param { AsyncCallback> } callback - the callback of getInputMethods. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. - * @throws { BusinessError } 12800001 - package manager error. + * @throws { BusinessError } 12800001 - bundle manager error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -522,7 +522,7 @@ declare namespace inputMethod { * @returns { Promise> } the promise returned by the function. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. - * @throws { BusinessError } 12800001 - package manager error. + * @throws { BusinessError } 12800001 - bundle manager error. * @throws { BusinessError } 12800008 - input method manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 9 @@ -677,7 +677,7 @@ declare namespace inputMethod { * @param { AsyncCallback } callback - the callback of showTextInput. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -689,7 +689,7 @@ declare namespace inputMethod { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -701,7 +701,7 @@ declare namespace inputMethod { * @param { AsyncCallback } callback - the callback of hideTextInput. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -713,7 +713,7 @@ declare namespace inputMethod { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -751,7 +751,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -767,7 +767,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -782,7 +782,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -797,7 +797,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -814,7 +814,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -831,7 +831,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -846,7 +846,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -861,7 +861,7 @@ declare namespace inputMethod { * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types. * @throws { BusinessError } 12800003 - input method client error. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1026,7 +1026,7 @@ declare namespace inputMethod { * Subscribers are expected to process the inserted text and update changes in editor by changeSelection and updateCursor as needed. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1053,7 +1053,7 @@ declare namespace inputMethod { * to the left of the cursor and update changes in editor by changeSelection and updateCursor as needed. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1080,7 +1080,7 @@ declare namespace inputMethod { * to the right of the cursor and update changes in editor by changeSelection and updateCursor as needed. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1105,7 +1105,7 @@ declare namespace inputMethod { * The keyboardStatus is provided for this callback. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1131,7 +1131,7 @@ declare namespace inputMethod { * corresponding task based on the value of functionKey. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1157,7 +1157,7 @@ declare namespace inputMethod { * in editor by changeSelection and updateCursor. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1182,7 +1182,7 @@ declare namespace inputMethod { * is provided for this callback. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1207,7 +1207,7 @@ declare namespace inputMethod { * must be a synchronization method and will block the input method application. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1232,7 +1232,7 @@ declare namespace inputMethod { * must be a synchronization method and will block the input method application. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1257,7 +1257,7 @@ declare namespace inputMethod { * must be a synchronization method, and should return the text index at the cursor. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. - * @throws { BusinessError } 12800009 - input method client is detached. + * @throws { BusinessError } 12800009 - input method client detached. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ diff --git a/api/@ohos.inputMethodEngine.d.ts b/api/@ohos.inputMethodEngine.d.ts index e08908e6a..e9024dc56 100644 --- a/api/@ohos.inputMethodEngine.d.ts +++ b/api/@ohos.inputMethodEngine.d.ts @@ -430,7 +430,7 @@ declare namespace inputMethodEngine { * * @param { AsyncCallback } callback - the callback of exitCurrentInputType. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800010 - not default input method configured by system. + * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 */ @@ -441,7 +441,7 @@ declare namespace inputMethodEngine { * * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 12800008 - input method manager service error. - * @throws { BusinessError } 12800010 - not default input method configured by system. + * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 */ @@ -636,7 +636,7 @@ declare namespace inputMethodEngine { * * @param { 'privateCommand' } type - indicates the type of subscribe event. * @param { Callback> } callback - indicates the callback of on('privateCommand'). - * @throws { BusinessError } 12800010 - not default input method configured by system. + * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 */ @@ -648,7 +648,7 @@ declare namespace inputMethodEngine { * @param { 'privateCommand' } type - indicates the type of subscribe event. * @param { Callback> } [callback] - optional, * indicates the callback of off('privateCommand'). - * @throws { BusinessError } 12800010 - not default input method configured by system. + * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 */ @@ -658,7 +658,7 @@ declare namespace inputMethodEngine { * Get input method's security mode. * * @returns { SecurityMode } return security mode. - * @throws { BusinessError } 12800004 - not an input method extension. + * @throws { BusinessError } 12800004 - not an input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 11 */ @@ -673,7 +673,7 @@ declare namespace inputMethodEngine { * @param { AsyncCallback } callback - the callback of createPanel. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; - * @throws { BusinessError } 12800004 - not an input method extension. + * @throws { BusinessError } 12800004 - not an input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -688,7 +688,7 @@ declare namespace inputMethodEngine { * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; - * @throws { BusinessError } 12800004 - not an input method extension. + * @throws { BusinessError } 12800004 - not an input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 10 */ @@ -1322,7 +1322,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800003 - input method client error. - * @throws { BusinessError } 12800010 - not default input method configured by system. + * @throws { BusinessError } 12800010 - not the preconfigured default input method. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 */ @@ -1333,7 +1333,7 @@ declare namespace inputMethodEngine { * * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 12800003 - input method client error. - * @throws { BusinessError } 12800012 - input method panel doesn't exist. + * @throws { BusinessError } 12800012 - the input method panel does not exist. * @throws { BusinessError } 12800013 - window manager service error. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 @@ -1349,7 +1349,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800003 - input method client error. - * @throws { BusinessError } 12800011 - text preview is not supported. + * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 */ @@ -1363,7 +1363,7 @@ declare namespace inputMethodEngine { * @throws { BusinessError } 401 - parameter error. Possible causes: * 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed. * @throws { BusinessError } 12800003 - input method client error. - * @throws { BusinessError } 12800011 - text preview is not supported. + * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 */ @@ -1374,7 +1374,7 @@ declare namespace inputMethodEngine { * * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 12800003 - input method client error. - * @throws { BusinessError } 12800011 - text preview is not supported. + * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 */ @@ -1384,7 +1384,7 @@ declare namespace inputMethodEngine { * Finish the text preview. * * @throws { BusinessError } 12800003 - input method client error. - * @throws { BusinessError } 12800011 - text preview is not supported. + * @throws { BusinessError } 12800011 - text preview not supported. * @syscap SystemCapability.MiscServices.InputMethodFramework * @since 12 */