Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
1e9cc4dd
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
You need to sign in or sign up before continuing.
未验证
提交
1e9cc4dd
编写于
3月 21, 2022
作者:
O
openharmony_ci
提交者:
Gitee
3月 21, 2022
浏览文件
操作
浏览文件
下载
差异文件
!2273 Done! 1704:add missionManager docs
Merge pull request !2273 from wusongqing/TR1704
上级
803824be
61fa105c
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
713 addition
and
0 deletion
+713
-0
en/application-dev/reference/apis/js-apis-application-MissionInfo.md
...ion-dev/reference/apis/js-apis-application-MissionInfo.md
+35
-0
en/application-dev/reference/apis/js-apis-application-MissionSnapshot.md
...dev/reference/apis/js-apis-application-MissionSnapshot.md
+29
-0
en/application-dev/reference/apis/js-apis-missionManager.md
en/application-dev/reference/apis/js-apis-missionManager.md
+649
-0
未找到文件。
en/application-dev/reference/apis/js-apis-application-MissionInfo.md
0 → 100644
浏览文件 @
1e9cc4dd
# MissionInfo
> **NOTE**
> The initial APIs of this module are supported since API 8.
Provides mission information of an ability.
## Modules to Import
Import
**Want**
before use.
```
import Want from "../@ohos.application.Want";
```
## MissionInfo
Describes the mission information.
**System capability**
: SystemCapability.Ability.AbilityBase
| Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- |
| missionId | number | Yes| Yes| Mission ID.|
| runningState | number | Yes| Yes| Running state of the mission.|
| lockedState | boolean | Yes| Yes| Locked state of the mission.|
| timestamp | string | Yes| Yes| Latest time when the mission was created or updated.|
| want |
[
Want
](
js-apis-featureAbility.md#want
)
| Yes| Yes|
**Want**
information of the mission.|
| label | string | Yes| Yes| Label of the mission.|
| iconPath | string | Yes| Yes| Path of the mission icon.|
| continuable | boolean | Yes| Yes| Whether the mission is continuable.|
en/application-dev/reference/apis/js-apis-application-MissionSnapshot.md
0 → 100644
浏览文件 @
1e9cc4dd
# 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.|
en/application-dev/reference/apis/js-apis-missionManager.md
0 → 100644
浏览文件 @
1e9cc4dd
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录