js-apis-application-MissionSnapshot.md 724 字节

MissionSnapshot

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 missionManager from '@ohos.application.missionManager'
import ElementName from '@ohos.bundle';
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.