mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
commit
feefb3c736
14
api/@ohos.window.d.ts
vendored
14
api/@ohos.window.d.ts
vendored
@ -7516,6 +7516,20 @@ declare namespace window {
|
|||||||
*/
|
*/
|
||||||
recover(): Promise<void>;
|
recover(): Promise<void>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* After the app main window is minimized, if the Ability is not in the background state, you can restore app main window.
|
||||||
|
*
|
||||||
|
* @returns { Promise<void> } - The promise returned by the function.
|
||||||
|
* @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 } 1300003 - This window manager service works abnormally.
|
||||||
|
* @throws { BusinessError } 1300004 - Unauthorized operation.
|
||||||
|
* @syscap SystemCapability.Window.SessionManager
|
||||||
|
* @atomicservice
|
||||||
|
* @since 14
|
||||||
|
*/
|
||||||
|
restore(): Promise<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the visibility of the window decor.
|
* Set the visibility of the window decor.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user