Module Description
The module provides basic window management capabilities, such as creating and destroying the current window, setting properties for the current window, and managing and scheduling windows.
This module provides the following common window-related functionalities:
- Window: window instance, which is the basic unit managed by the window manager.
- WindowStage: window manager that manages windows.
NOTE
The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
For the system capability SystemCapability.Window.SessionManager, use canIUse() to check whether the device supports this system capability and the corresponding APIs.
Modules to Import
import { window } from '@kit.ArkUI';