diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index c73851031bf907ceeac42851e3d4e6929c86c4cb..77267c6cbfe1f0805bb2a81170103125c00b3dab 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -810,6 +810,13 @@ declare namespace window { * @since 7 */ setTouchable(isTouchable: boolean, callback: AsyncCallback): void; + + /** + * disable window decoration. It must be called before loadContent. + * @systemapi + * @since 9 + */ + disableWindowDecor(): void; } /** * window stage callback event type @@ -893,6 +900,13 @@ declare namespace window { * @since 9 */ off(eventType: 'windowStageEvent', callback?: Callback): void; + /** + * Sets whether can show on lock screen or not + * @param showOnLockScreen can show on lock screen if true, or not if false + * @syscap SystemCapability.WindowManager.WindowManager.Core + * @since 9 + */ + setShowOnLockScreen(showOnLockScreen: boolean): void; } }