From 3123a74726aef7011afd5b1a44be693f7e1063b6 Mon Sep 17 00:00:00 2001 From: Gloria Date: Tue, 20 Jun 2023 14:31:04 +0800 Subject: [PATCH] Update docs against 19661 Signed-off-by: wusongqing --- en/application-dev/reference/apis/js-apis-window.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-window.md b/en/application-dev/reference/apis/js-apis-window.md index 754fdb6358..4608712c9e 100644 --- a/en/application-dev/reference/apis/js-apis-window.md +++ b/en/application-dev/reference/apis/js-apis-window.md @@ -236,7 +236,7 @@ Describes the window properties. | dimBehindValue(deprecated) | number | Yes | Yes | Dimness of the window that is not on top. The value ranges from 0 to 1. The value **1** indicates the maximum dimness.
**NOTE**
This property is supported since API version 7 and deprecated since API version 9.
| | isKeepScreenOn | boolean | Yes | Yes | Whether the screen is always on. The default value is **false**. The value **true** means that the screen is always on, and **false** means the opposite.| | isPrivacyMode7+ | boolean | Yes | Yes | Whether the window is in privacy mode. The default value is **false**. The value **true** means that the window is in privacy mode, and **false** means the opposite.| -| isRoundCorner(deprecated) | boolean | Yes | Yes | Whether the window has rounded corners. The default value is **false**. The value **true** means that the window has rounded corners, and **false** means the opposite.
**NOTE**
This property is supported since API version 7 and deprecated since API version 9.
| +| isRoundCorner(deprecated) | boolean | Yes | Yes | Whether the window has rounded corners. The default value is **false**. The value **true** means that the window has rounded corners, and **false** means the opposite.
**NOTE**
This property is supported since API version 7 and deprecated since API version 9.
| | isTransparent7+ | boolean | Yes | Yes | Whether the window is transparent. The default value is **false**. The value **true** means that the window is transparent, and **false** means the opposite.| | id9+ | number | Yes | No | Window ID. The default value is **0.0**. | @@ -2434,6 +2434,14 @@ Obtain a **UIContext** instance. | ---------- | ---------------------- | | [UIContext](./js-apis-arkui-UIContext.md#uicontext) | **UIContext** instance obtained.| +**Error codes** + +For details about the error codes, see [Window Error Codes](../errorcodes/errorcode-window.md). + +| ID| Error Message| +| ------- | ------------------------------ | +| 1300002 | This window state is abnormal. | + **Example** ```ts -- GitLab