mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-12-03 13:12:09 +00:00
modify code
Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
parent
9a9fcb2dc9
commit
9c95699705
8
api/@ohos.inputMethodEngine.d.ts
vendored
8
api/@ohos.inputMethodEngine.d.ts
vendored
@ -389,22 +389,22 @@ declare namespace inputMethodEngine {
|
||||
hideKeyboard(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Exit the current input type.
|
||||
* Exit the current input type. This function can only be called by default input method configured by system.
|
||||
*
|
||||
* @param { AsyncCallback<void> } callback - the callback of exitCurrentInputType.
|
||||
* @throws { BusinessError } 12800008 - input method manager service error.
|
||||
* @throws { BusinessError } 12800010 - not system default input method.
|
||||
* @throws { BusinessError } 12800010 - not default input method configured by system.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 11
|
||||
*/
|
||||
exitCurrentInputType(callback: AsyncCallback<void>): void;
|
||||
|
||||
/**
|
||||
* Exit the current input type.
|
||||
* Exit the current input type. This function can only be called by default input method configured by system.
|
||||
*
|
||||
* @returns { Promise<void> } the promise returned by the function.
|
||||
* @throws { BusinessError } 12800008 - input method manager service error.
|
||||
* @throws { BusinessError } 12800010 - not system default input method.
|
||||
* @throws { BusinessError } 12800010 - not default input method configured by system.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 11
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user