> - The APIs of this module are no longer maintained since API version 7. You are advised to use the new APIs.
> - 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.
> - 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,9 +21,7 @@ getInfo(): AppResponse
...
@@ -20,9 +21,7 @@ getInfo(): AppResponse
Obtains the declared information in the **config.json** file of an application.
Obtains the declared information in the **config.json** file of an application.
> **NOTE**
You are advised to use [@ohos.bundle](js-apis-Bundle.md) since API version 7.
>
> You are advised to use [@ohos.bundle](js-apis-Bundle.md) since API version 7.
Requests the application to run in full window. You can call this API when the FA runs in a non-full window, for example, semi-modal FA. This API is invalid for an application already in full-window mode.
Requests the application to run in full window. You can call this API when the FA runs in a non-full window, for example, semi-modal FA. This API is invalid for an application already in full-window mode.
This is a system API and cannot be called by third-party applications.
You are advised to use [@ohos.window](js-apis-window.md) since API version 7.
> **NOTE**
>
> You are advised to use [@ohos.window](js-apis-window.md) since API version 7.
| options | [RequestFullWindowOptions](#requestfullwindowoptions) | No| Duration for transition from the non-full window to the full window, in milliseconds. By default, the value is in direct proportion to the distance between the non-full window and the full window.|
| options | [RequestFullWindowOptions](#requestfullwindowoptions) | No| Duration for transition from the non-full window to the full window, in milliseconds. By default, the value is in direct proportion to the distance between the non-full window and the full window.|
**Example**
**Example**
```ts
```ts
exportdefault{
exportdefault{
requestFullWindow(){
requestFullWindow(){
app.requestFullWindow({
app.requestFullWindow({
...
@@ -93,7 +87,7 @@ export default {
...
@@ -93,7 +87,7 @@ export default {
})
})
}
}
}
}
```
```
## app.setImageCacheCount<sup>7+</sup>
## app.setImageCacheCount<sup>7+</sup>
...
@@ -104,13 +98,14 @@ Sets the maximum number of decoded images that can be cached in the memory to sp
...
@@ -104,13 +98,14 @@ Sets the maximum number of decoded images that can be cached in the memory to sp
| options | ScreenOnVisibleOptions | No| With keep-alive, the system is prevented from returning to the home screen when the screen is locked, so that the application is visible when the screen is woken up. |
## ScreenOnVisibleOptions
## ScreenOnVisibleOptions
Defines the options of the visible interface on the screen.
Defines the options of the visible interface on the screen.