| names | Array | Yes | Whether to display the status bar and navigation bar.<br>For example, to display the status bar and navigation bar, set this parameter to `["status", "navigation"]`. By default, they are not displayed.|
| names | Array | Yes | Whether to display the status bar and navigation bar.<br>For example, to display the status bar and navigation bar, set this parameter to `['status', 'navigation']`. By default, they are not displayed.|
| callback | AsyncCallback<void> | Yes | Callback used to return the result. |
**Example**
```js
// In this example, the status bar and navigation bar are not displayed.
| names | Array | Yes | Whether to display the status bar and navigation bar.<br>For example, to display the status bar and navigation bar, set this parameter to `["status", "navigation"]`. By default, they are not displayed.|
| names | Array | Yes | Whether to display the status bar and navigation bar.<br>For example, to display the status bar and navigation bar, set this parameter to `['status', 'navigation']`. By default, they are not displayed.|
**Return value**
...
...
@@ -1587,7 +1587,7 @@ Sets whether to display the status bar and navigation bar in this window. This A
```js
// In this example, the status bar and navigation bar are not displayed.
varnames=[];
letnames=[];
letpromise=windowClass.setSystemBarEnable(names);
promise.then((data)=>{
console.info('Succeeded in setting the system bar to be invisible. Data: '+JSON.stringify(data));
...
...
@@ -1614,7 +1614,7 @@ Sets the properties of the status bar and navigation bar in this window. This AP
**Example**
```js
varSystemBarProperties={
letSystemBarProperties={
statusBarColor:'#ff00ff',
navigationBarColor:'#00ff00',
// The following properties are supported since API version 7.
...
...
@@ -1656,7 +1656,7 @@ Sets the properties of the status bar and navigation bar in this window. This AP
**Example**
```js
varSystemBarProperties={
letSystemBarProperties={
statusBarColor:'#ff00ff',
navigationBarColor:'#00ff00',
// The following properties are supported since API version 7.
...
...
@@ -1692,7 +1692,7 @@ Sets the preferred orientation for this window. This API uses an asynchronous ca
| isSkip | boolean | Yes | Whether to ignore the window. The default value is `false`.<br>The value `true` means that the window is ignored, and `false` means the opposite.<br>|
```js
varisSkip=true;
letisSkip=true;
windowClass.setSnapshotSkip(isSkip);
```
...
...
@@ -3018,7 +3018,7 @@ Sets whether this window is touchable. This API uses an asynchronous callback to
The **WindowAnimationManager** module provides APIs to listen for application start/exit events and window minimization/maximization events and associate animations with these events.
> **NOTE**
>
> The APIs of this module are supported since API version 9. Updates will be marked with a superscript to indicate their earliest API version.
>
> The APIs provided by this module are system APIs.
...
...
@@ -32,7 +31,7 @@ Before using other APIs of **windowAnimationManager**, you must call this API to