diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 931334111220d7a0e23f3928f67da2366a2c90f4..ed6887dd917959e9d4f5555cb39fbeb1085393b4 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 @@ -595,13 +589,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 @@ -735,22 +729,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. @@ -783,22 +761,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.