diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index fc44ff8043c42a0978812a5b41227d4866fbf169..c73851031bf907ceeac42851e3d4e6929c86c4cb 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -105,7 +105,7 @@ declare namespace window { * the content color of the navigation bar * @since 8 */ - navigationBarContentColor?: string; + navigationBarContentColor?: string; } /** @@ -265,12 +265,6 @@ declare namespace window { */ brightness: number - /** - * The dimbehind value of window. - * @since 7 - */ - dimBehindValue: number - /** * Whether keep screen on. * @since 6 @@ -613,13 +607,13 @@ declare namespace window { */ loadContent(path: string, callback: AsyncCallback): void; - /** + /** * Loads content * @param path path of the page to which the content will be loaded * @syscap SystemCapability.WindowManager.WindowManager.Core * @since 7 */ - loadContent(path: string): Promise; + loadContent(path: string): Promise; /** * Checks whether the window is displayed @@ -753,22 +747,6 @@ declare namespace window { */ setBrightness(brightness: number, callback: AsyncCallback): void; - /** - * Sets the dimBehind of window. - * @param dimBehindValue the specified dimBehind. - * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 - */ - setDimBehind(dimBehindValue: number, callback: AsyncCallback): void; - - /** - * Sets the dimBehind of window. - * @param dimBehind the specified dimBehind. - * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 - */ - setDimBehind(dimBehindValue: number): Promise; - /** * Sets whether focusable or not. * @param isFocusable can be focus if true, or can not be focus if false. @@ -801,22 +779,6 @@ declare namespace window { */ setKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback): void; - /** - * Sets whether outside can be touch or not. - * @param touchable outside can be touch if true, or not if false. - * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 - */ - setOutsideTouchable(touchable: boolean): Promise; - - /** - * Sets whether outside can be touch or not. - * @param touchable outside can be touch if true, or not if false. - * @syscap SystemCapability.WindowManager.WindowManager.Core - * @since 7 - */ - setOutsideTouchable(touchable: boolean, callback: AsyncCallback): void; - /** * Sets whether is private mode or not. * @param isPrivacyMode in private mode if true, or not if false.