!12837 沉浸式弃用已有promise替代的callback接口

Merge pull request !12837 from hfwang0318/cb_deprecate240723
This commit is contained in:
openharmony_ci 2024-08-01 09:48:13 +00:00 committed by Gitee
commit 90112757d6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4276,6 +4276,8 @@ declare namespace window {
* @crossplatform
* @atomicservice
* @since 12
* @deprecated since 12
* @useinstead ohos.window.Window#setWindowLayoutFullScreen
*/
setWindowLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback<void>): void;
@ -4369,6 +4371,8 @@ declare namespace window {
* @crossplatform
* @atomicservice
* @since 12
* @deprecated since 12
* @useinstead ohos.window.Window#setWindowSystemBarEnable
*/
setWindowSystemBarEnable(names: Array<'status' | 'navigation'>, callback: AsyncCallback<void>): void;
@ -4495,6 +4499,8 @@ declare namespace window {
* @syscap SystemCapability.WindowManager.WindowManager.Core
* @atomicservice
* @since 12
* @deprecated since 12
* @useinstead ohos.window.Window#setWindowSystemBarProperties
*/
setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback<void>): void;