未验证 提交 1dec4901 编写于 作者: Z zhancaijin 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-application-ability.md.

Signed-off-by: Nzhancaijin <zhancaijin1@huawei.com>
上级 9a3a5ee9
...@@ -319,7 +319,7 @@ onMemoryLevel(level: AbilityConstant.MemoryLevel): void; ...@@ -319,7 +319,7 @@ onMemoryLevel(level: AbilityConstant.MemoryLevel): void;
onSaveState(reason: AbilityConstant.StateType, wantParam : {[key: string]: any}): AbilityConstant.OnSaveResult; onSaveState(reason: AbilityConstant.StateType, wantParam : {[key: string]: any}): AbilityConstant.OnSaveResult;
该API配合[appRecovery](js-apis-appRecovery.md)使用。在应用故障时,如果使能了自动保存状态,框架将回调onSaveState保存Ability状态。 该API配合[appRecovery](js-apis-app-ability-appRecovery.md)使用。在应用故障时,如果使能了自动保存状态,框架将回调onSaveState保存Ability状态。
**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册