废弃接口setWakeUpScreen

Signed-off-by: xia <xialiangwei1@huawei.com>
This commit is contained in:
xia 2024-07-03 18:52:24 +08:00
parent b92dfc0f1c
commit 5c3941c0cc

View File

@ -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>;