mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
废弃接口setWakeUpScreen
Signed-off-by: xia <xialiangwei1@huawei.com>
This commit is contained in:
parent
b92dfc0f1c
commit
5c3941c0cc
4
api/app/context.d.ts
vendored
4
api/app/context.d.ts
vendored
@ -287,6 +287,8 @@ export interface Context extends BaseContext {
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @FAModelOnly
|
||||
* @since 7
|
||||
* @deprecated since 12
|
||||
* @useinstead ohos.window.Window#setWakeUpScreen
|
||||
*/
|
||||
setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback<void>): void;
|
||||
|
||||
@ -299,6 +301,8 @@ export interface Context extends BaseContext {
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @FAModelOnly
|
||||
* @since 7
|
||||
* @deprecated since 12
|
||||
* @useinstead ohos.window.Window#setWakeUpScreen
|
||||
*/
|
||||
setWakeUpScreen(wakeUp: boolean): Promise<void>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user