diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 980686b617ca0f62a2bca70d7bff529cbde40140..4ba45b98eb9b843823178012dbc6a3de459b987d 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -812,6 +812,22 @@ declare namespace window { */ setBrightness(brightness: number, callback: AsyncCallback): void; + /** + * Sets the dimBehind of window. + * @param dimBehindValue the specified dimBehind. + * @syscap SystemCapability.WindowManager.WindowManager.Core + * @deprecated since 7 + */ + setDimBehind(dimBehindValue: number, callback: AsyncCallback): void; + + /** + * Sets the dimBehind of window. + * @param dimBehind the specified dimBehind. + * @syscap SystemCapability.WindowManager.WindowManager.Core + * @deprecated 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. @@ -844,6 +860,22 @@ 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 + * @deprecated 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 + * @deprecated 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.