• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# MissionInfo
2
3> **NOTE**
4>
5> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
6
7## Modules to Import
8
9```
10import MissionInfo from '@ohos.application.missionInfo';
11```
12
13
14## MissionInfo
15
16Provides the mission information.
17
18**System capability**: SystemCapability.Ability.AbilityBase
19
20| Name| Type| Readable| Writable| Description|
21| -------- | -------- | -------- | -------- | -------- |
22| missionId | number | Yes| Yes| Mission ID.|
23| runningState | number | Yes| Yes| Running state of the mission.|
24| lockedState | boolean | Yes| Yes| Locked state of the mission.|
25| timestamp | string | Yes| Yes| Latest time when the mission was created or updated.|
26| want | [Want](js-apis-featureAbility.md#want) | Yes| Yes| **Want** information of the mission.|
27| label | string | Yes| Yes| Label of the mission.|
28| iconPath | string | Yes| Yes| Path of the mission icon.|
29| continuable | boolean | Yes| Yes| Whether the mission is continuable.|
30