js-apis-application-MissionSnapshot.md 726 字节
Newer Older
W
wusongqing 已提交
1 2 3
# MissionSnapshot


W
wusongqing 已提交
4 5
> **NOTE**
>
W
wusongqing 已提交
6
> 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.
W
wusongqing 已提交
7

8
Provides the snapshot of a mission.
W
wusongqing 已提交
9 10 11 12

## Modules to Import

```
W
wusongqing 已提交
13 14 15
import abilitymanager from '@ohos.application.abilityManager';
import ElementName from '@ohos.bundle';
import image from '@ohos.multimedia.image';
W
wusongqing 已提交
16 17 18 19 20 21
```

## MissionSnapshot

Describes the mission snapshot.

W
wusongqing 已提交
22
| Name| Type| Readable| Writable| Description|
W
wusongqing 已提交
23
| -------- | -------- | -------- | -------- | -------- |
W
wusongqing 已提交
24 25
| ability | ElementName | Yes| Yes| Information that matches an ability.|
| snapshot | [image.PixelMap](js-apis-image.md) | Yes| Yes| Snapshot of the mission.|