MissionSnapshot

icon-note.gif NOTE 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.

Provides the snapshot of a mission.

Modules to Import

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 Yes Yes Snapshot of the mission.