js-apis-application-StartOptions.md 786 字节
Newer Older
W
wusongqing 已提交
1 2
# StartOptions

3 4
The **StartOptions** module implements ability startup options.

W
wusongqing 已提交
5
> **NOTE**
6 7
>
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
W
wusongqing 已提交
8
> The APIs of this module can be used only in the stage model.
W
wusongqing 已提交
9 10 11 12 13 14 15 16 17

## Modules to Import

```
import StartOptions from '@ohos.application.StartOptions';
```

## Attributes

18
**System capability**: SystemCapability.Ability.AbilityRuntime.Core
W
wusongqing 已提交
19

W
wusongqing 已提交
20
| Name| Readable| Writable| Type| Mandatory| Description|
W
wusongqing 已提交
21
| -------- | -------- | -------- | -------- | -------- | -------- |
22
| [windowMode](js-apis-application-abilityConstant.md#abilityconstantwindowmode) | Yes| No| number | No| Window mode.|
W
wusongqing 已提交
23
| displayId | Yes| No| number | No| Display ID.|