mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-03-04 23:37:33 +00:00
!12837 沉浸式弃用已有promise替代的callback接口
Merge pull request !12837 from hfwang0318/cb_deprecate240723
This commit is contained in:
commit
90112757d6
6
api/@ohos.window.d.ts
vendored
6
api/@ohos.window.d.ts
vendored
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user