js-apis-application-MissionSnapshot.md 626 字节
Newer Older
W
wusongqing 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# MissionSnapshot


> **NOTE**
> The initial APIs of this module are supported since API 8.


Provides snapshot of a mission.


## Modules to Import

Import ElementName and image before use.


```
import { ElementName } from '../bundle/elementName';
import { image } from '../@ohos.multimedia.image';
```


## MissionSnapshot

Describes the mission snapshot.

  | Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- |
| ability | ElementName | Yes| Yes| Information that matches an ability.|
| snapshot | [image.PixelMap](js-apis-image.md) | Yes| Yes| Snapshot of the mission.|