mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
新接口401增加
Signed-off-by: h30051954 <hemenghao2@huawei.com>
This commit is contained in:
parent
42dfecc780
commit
cfb7cbbffe
9
api/@ohos.inputMethodEngine.d.ts
vendored
9
api/@ohos.inputMethodEngine.d.ts
vendored
@ -1354,7 +1354,8 @@ declare namespace inputMethodEngine {
|
||||
*
|
||||
* @param { string } text - the text to be previewed.
|
||||
* @param { Range } range - the range of the text to be replaced by the preview text.
|
||||
* @throws { BusinessError } 401 - parameter error.
|
||||
* @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.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
@ -1688,7 +1689,8 @@ declare namespace inputMethodEngine {
|
||||
*
|
||||
* @param { 'show' } type - events type.
|
||||
* @param { function } [callback] - the callback to Unregister.
|
||||
* @throws { BusinessError } 401 -parameter error.
|
||||
* @throws { BusinessError } 401 - parameter error. Possible causes:
|
||||
* 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 10
|
||||
*/
|
||||
@ -1710,7 +1712,8 @@ declare namespace inputMethodEngine {
|
||||
*
|
||||
* @param { 'hide' } type - events type.
|
||||
* @param { function } [callback] - the callback to Unregister.
|
||||
* @throws { BusinessError } 401 -parameter error.
|
||||
* @throws { BusinessError } 401 - parameter error. Possible causes:
|
||||
* 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types; 3.Parameter verification failed.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 10
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user