a2129b10创建于 2025年12月25日历史提交

WindowManager_WindowSnapshotConfig

typedef struct {...} WindowManager_WindowSnapshotConfig

Overview

Describes the configuration of the main window screenshot.

Since: 21

Related module: WindowManager

Header file: oh_window_comm.h

Summary

Member Variables

Name Description
bool useCache Whether the existing screenshot of the main window should be used. The default value is true. When it is set to true, the system uses the existing screenshot of the main window, or captures the latest screenshot if no existing screenshot is saved. When it is set to false, the system captures the latest screenshot of the main window.