From af36b93c9288bfe34a5b3d250cb2554cac7027f9 Mon Sep 17 00:00:00 2001 From: huangji731 Date: Wed, 20 Nov 2024 12:00:23 +0800 Subject: [PATCH] https://gitee.com/openharmony/interface_sdk_c/issues/IB5OLS Signed-off-by: huangji731 --- arkui/display_manager/oh_display_capture.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arkui/display_manager/oh_display_capture.h b/arkui/display_manager/oh_display_capture.h index a9fd997b1..0e150db68 100644 --- a/arkui/display_manager/oh_display_capture.h +++ b/arkui/display_manager/oh_display_capture.h @@ -49,6 +49,7 @@ extern "C" { /** * @brief Capture a screen pixelmap of the specified display. * + * @permission {@code ohos.permission.CUSTOM_SCREEN_CAPTURE} * @param displayId The ID of the display to be captured. * @param pixelMap The output pixel map of the captured display. * @return { @link DISPLAY_MANAGER_OK } If the operation is successful. -- Gitee