未验证 提交 b8911436 编写于 作者: O openharmony_ci 提交者: Gitee

!3132 Done! 3099:【轻量级 PR】:增加替代接口说明

Merge pull request !3132 from wusongqing/TR3099
# Application Context
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> - The APIs of this module are no longer maintained since API version 7. You are advised to use the new APIs specified in the API descriptions.
> - The APIs of this module are no longer maintained since API version 7. You are advised to use the new APIs.
>
> - The initial APIs of this module are supported since API version 3. Newly added APIs will be marked with a superscript to indicate their earliest API version.
......@@ -20,6 +20,8 @@ getInfo(): AppResponse
Obtains the declared information in the **config.json** file of an application.
> **Note: ** [`@ohos.bundle`](js-apis-Bundle.md) is recommended from API version 7.
**System capability**: SystemCapability.ArkUI.ArkUI.Lite
**Return value**
......@@ -45,6 +47,8 @@ terminate(): void
Terminates the current ability.
> **Note: ** [`@ohos.ability.featureAbility`](js-apis-featureAbility.md) is recommended from API version 7.
**System capability**: SystemCapability.ArkUI.ArkUI.Lite
**Example**
......@@ -63,6 +67,8 @@ Requests the application to run in full window. You can call this API when the F
This is a system API and cannot be called by third-party applications.
> **Note: ** [`@ohos.window`](js-apis-window.md) is recommended from API version 7.
**System capability**: SystemCapability.ArkUI.ArkUI.Full
**Parameters**
......@@ -79,7 +85,7 @@ This is a system API and cannot be called by third-party applications.
duration: 200});
}
}
```
```
## app.setImageCacheCount<sup>7+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册