diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index bb722d188b4ad0f1f56a3f93deb58dae6d5a7a17..7154664c7560df70688837f9a2e2b2835751bcd1 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -9771,35 +9771,6 @@ declare namespace window { */ setSingleFrameComposerEnabled(enable: boolean): Promise; - /** - * When get focused, keep the keyboard created by other windows, support system window and app subwindow. - * - * @param { boolean } keepKeyboardFlag - keep the keyboard if true, otherwise means the opposite. - * @throws { BusinessError } 401 - Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; - * 2. Incorrect parameter types. - * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. - * @throws { BusinessError } 1300002 - This window state is abnormal. - * @throws { BusinessError } 1300004 - Unauthorized operation. - * @syscap SystemCapability.Window.SessionManager - * @since 11 - */ - /** - * When get focused, keep the keyboard created by other windows, support system window and app subwindow. - * - * @param { boolean } keepKeyboardFlag - Whether to keep the soft keyboard created by others. - * The value true means to keep the soft keyboard, and false means the opposite. - * @throws { BusinessError } 401 - Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; - * 2. Incorrect parameter types. - * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. - * @throws { BusinessError } 1300002 - This window state is abnormal. - * @throws { BusinessError } 1300004 - Unauthorized operation. - * @syscap SystemCapability.Window.SessionManager - * @atomicservice - * @since arkts {'1.1':'12', '1.2':'20'} - * @arkts 1.1&1.2 - */ - keepKeyboardOnFocus(keepKeyboardFlag: boolean): void; - /** * Recover app main window. *