diff --git a/api/@ohos.screenshot.d.ts b/api/@ohos.screenshot.d.ts index 94f912c24391fab0125559c6b48771623e00fd92..7fa60edc4b63b3d9c2a59f6eb8dec54bc2c750d0 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 {