From a3b3726f784707f9c0ab0a28e6a195010e66db14 Mon Sep 17 00:00:00 2001 From: shulssins Date: Fri, 30 May 2025 17:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=89=A9=E7=90=86id=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shulssins --- api/@ohos.screen.d.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/api/@ohos.screen.d.ts b/api/@ohos.screen.d.ts index b553fa8303..6bcd35647a 100644 --- a/api/@ohos.screen.d.ts +++ b/api/@ohos.screen.d.ts @@ -685,6 +685,17 @@ declare namespace screen { */ readonly id: number; + /** + * Physical screen id + * + * @type { number } + * @readonly + * @syscap SystemCapability.WindowManager.WindowManager.Core + * @systemapi Hide this for inner system use. + * @since 19 + */ + readonly physicalId: number; + /** * Group id * @@ -750,7 +761,7 @@ declare namespace screen { * @since 15 */ readonly serialNumber?: string; - + /** * Set the orientation of the screen * -- Gitee