Provides display management capabilities, including obtaining information about display devices, taking screenshots, and listening for status changes of display devices, such as rotation, folding, and unfolding. You can use this module to query display attributes, respond to display status change events, and implement display adaptation and multi-display scenario support.
System capability: SystemCapability.WindowManager.WindowManager.Core
Since: 12
| Name | Description |
|---|---|
| oh_display_capture.h | Declares the capability to take screenshots. |
| oh_display_info.h | Declares the common enums and definitions of the display. |
| oh_display_manager.h | Provides basic display management capabilities, including obtaining information about the default display device (such as the width, height, rotation angle, refresh rate, and pixel density) and listening for status changes of the display device, such as rotation, folding, and unfolding. This file is applicable to adapting different display forms, responding to display status changes, and obtaining display attribute details. |