From 560ce3d81fe7567b4913a394fd877d824051c8b4 Mon Sep 17 00:00:00 2001 From: maojiangping Date: Thu, 10 Feb 2022 14:56:42 +0800 Subject: [PATCH] add syscap to inerface of windowmanager Signed-off-by: maojiangping Change-Id: I5c39ad1b1e10b2c642f6f464cab3c0d9f8029888 Signed-off-by: maojiangping --- api/@ohos.screenshot.d.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/api/@ohos.screenshot.d.ts b/api/@ohos.screenshot.d.ts index 94f912c243..7fa60edc4b 100644 --- a/api/@ohos.screenshot.d.ts +++ b/api/@ohos.screenshot.d.ts @@ -18,7 +18,7 @@ import image from './@ohos.multimedia.image'; /** * interface for screenshot - * @devices tv, phone, tablet, wearable, car + * @syscap SystemCapability.WindowManager.WindowManager.Core. * @systemapi Hide this for inner system use. * @since 7 */ @@ -26,7 +26,6 @@ declare namespace screenshot { /** * Takes a screenshot and saves it as a PixelMap object * @param options Screenshot options, which consist of screenRect, imageSize, and rotation. You need to set these parameters - * @devices tv, phone, tablet, wearable, car * @permission ohos.permission.CAPTURE_SCREEN * @since 7 */ @@ -34,7 +33,6 @@ declare namespace screenshot { /** * Describes the region of the screen to capture - * @devices tv, phone, tablet, wearable, car * @since 7 */ interface Rect { @@ -46,7 +44,6 @@ declare namespace screenshot { /** * Describes the size of the screen region to capture - * @devices tv, phone, tablet, wearable, car * @since 7 */ interface Size { @@ -56,7 +53,6 @@ declare namespace screenshot { /** * Describes screenshot options - * @devices tv, phone, tablet, wearable, car * @since 7 */ interface ScreenshotOptions { -- Gitee