From f33e7f17faa2418df7cc5d19f8b66c4dc8d74c0d Mon Sep 17 00:00:00 2001 From: chyyy0213 Date: Fri, 4 Mar 2022 10:20:20 +0800 Subject: [PATCH] add version for windowtype Signed-off-by: chyyy0213 Change-Id: If1c0f8ddf4954250e51f7b59638d97a2dfc6e391 Signed-off-by: chyyy0213 --- api/@ohos.window.d.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 69c33f7bf3..f75000180e 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -23,6 +23,7 @@ declare namespace window { /** * The type of a window. * @syscap SystemCapability.WindowManager.WindowManager.Core + * @since 7 */ enum WindowType { /** @@ -446,21 +447,21 @@ declare namespace window { /** * Set the type of a window. - * @param windowType Indicate the type of a window. + * @param type Indicate the type of a window. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. * @since 7 */ - setWindowType(windowType: WindowType): Promise; + setWindowType(type: WindowType): Promise; /** * Set the type of a window. - * @param windowType Indicate the type of a window. + * @param type Indicate the type of a window. * @syscap SystemCapability.WindowManager.WindowManager.Core * @systemapi Hide this for inner system use. * @since 7 */ - setWindowType(windowType: WindowType, callback: AsyncCallback): void; + setWindowType(type: WindowType, callback: AsyncCallback): void; /** * get the properties of current window -- Gitee