Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
(_灬幸福相伴
Docs
提交
dbf17f69
D
Docs
项目概览
(_灬幸福相伴
/
Docs
与 Fork 源项目一致
Fork自
OpenHarmony / Docs
通知
1
Star
1
Fork
0
代码
文件
提交
分支
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,发现更多精彩内容 >>
未验证
提交
dbf17f69
编写于
12月 07, 2022
作者:
O
openharmony_ci
提交者:
Gitee
12月 07, 2022
浏览文件
操作
浏览文件
下载
差异文件
!12246 【仅md格式规范】文档一致性检查修复
Merge pull request !12246 from 杜智海/master
上级
9f9993f2
475fd0d5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
41 addition
and
33 deletion
+41
-33
zh-cn/application-dev/reference/apis/js-apis-continuation-continuationExtraParams.md
...ence/apis/js-apis-continuation-continuationExtraParams.md
+1
-1
zh-cn/application-dev/reference/apis/js-apis-continuation-continuationManager.md
...eference/apis/js-apis-continuation-continuationManager.md
+10
-28
zh-cn/application-dev/reference/apis/js-apis-continuation-continuationResult.md
...reference/apis/js-apis-continuation-continuationResult.md
+1
-1
zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md
...n-dev/reference/apis/js-apis-distributedMissionManager.md
+29
-3
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-continuation-continuationExtraParams.md
浏览文件 @
dbf17f69
...
...
@@ -12,7 +12,7 @@
**系统能力**
:以下各项对应的系统能力均为SystemCapability.Ability.DistributedAbilityManager
| 名称 |
参数
类型 | 可读 | 可写 | 说明 |
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| deviceType | Array
\<
string> | 是 | 是 | 表示设备类型。|
| targetBundle | string | 是 | 是 | 表示目标包名。 |
...
...
zh-cn/application-dev/reference/apis/js-apis-continuation-continuationManager.md
浏览文件 @
dbf17f69
...
...
@@ -171,7 +171,6 @@ registerContinuation(callback: AsyncCallback\<number>): void;
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600003 | The number of token registration times has reached the upper limit. |
...
...
@@ -216,7 +215,6 @@ registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\<
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600003 | The number of token registration times has reached the upper limit. |
...
...
@@ -269,7 +267,6 @@ registerContinuation(options?: ContinuationExtraParams): Promise\<number>;
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600003 | The number of token registration times has reached the upper limit. |
...
...
@@ -471,7 +468,6 @@ on(type: "deviceSelected", token: number, callback: Callback\<Array\<Continuatio
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
| 16600004 | The specified callback has been registered. |
...
...
@@ -518,7 +514,6 @@ on(type: "deviceUnselected", token: number, callback: Callback\<Array\<Continuat
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
| 16600004 | The specified callback has been registered. |
...
...
@@ -565,7 +560,6 @@ off(type: "deviceSelected", token: number): void;
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
| 16600004 | The specified callback has been registered. |
...
...
@@ -604,7 +598,6 @@ off(type: "deviceUnselected", token: number): void;
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
| 16600004 | The specified callback has been registered. |
...
...
@@ -785,7 +778,6 @@ startContinuationDeviceManager(token: number, callback: AsyncCallback\<void>): v
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
...
...
@@ -830,7 +822,6 @@ startContinuationDeviceManager(token: number, options: ContinuationExtraParams,
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
...
...
@@ -883,7 +874,6 @@ startContinuationDeviceManager(token: number, options?: ContinuationExtraParams)
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
...
...
@@ -1029,7 +1019,6 @@ updateContinuationState(token: number, deviceId: string, status: DeviceConnectSt
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
...
...
@@ -1081,7 +1070,6 @@ updateContinuationState(token: number, deviceId: string, status: DeviceConnectSt
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
...
...
@@ -1212,7 +1200,6 @@ unregisterContinuation(token: number, callback: AsyncCallback\<void>): void;
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
...
...
@@ -1261,7 +1248,6 @@ unregisterContinuation(token: number): Promise\<void>;
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 401 | The parameter check failed. |
| 16600001 | The system ability works abnormally. |
| 16600002 | The specified token or callback is not registered. |
...
...
@@ -1289,14 +1275,12 @@ unregisterContinuation(token: number): Promise\<void>;
**系统能力**
:SystemCapability.Ability.DistributedAbilityManager
**参数:**
| 参数名 | 类型 | 值 | 说明 |
| -------- | -------- | -------- | -------- |
| IDLE | number | 0 | 设备连接初始状态。 |
| CONNECTING | number | 1 | 设备连接中状态。 |
| CONNECTED | number | 2 | 设备已连接状态。 |
| DISCONNECTING | number | 3 | 设备断开连接状态。 |
| 名称 | 值 | 说明 |
| -------- | -------- | -------- |
| IDLE | 0 | 设备连接初始状态。 |
| CONNECTING | 1 | 设备连接中状态。 |
| CONNECTED | 2 | 设备已连接状态。 |
| DISCONNECTING | 3 | 设备断开连接状态。 |
## ContinuationMode
...
...
@@ -1304,9 +1288,7 @@ unregisterContinuation(token: number): Promise\<void>;
**系统能力**
:SystemCapability.Ability.DistributedAbilityManager
**参数:**
| 参数名 | 类型 | 值 | 说明 |
| -------- | -------- | -------- | -------- |
| COLLABORATION_SINGLE | number | 0 | 设备选择模块单选模式。 |
| COLLABORATION_MULTIPLE | number | 1 | 设备选择模块多选模式。 |
\ No newline at end of file
| 名称 | 值 | 说明 |
| -------- | -------- | -------- |
| COLLABORATION_SINGLE | 0 | 设备选择模块单选模式。 |
| COLLABORATION_MULTIPLE | 1 | 设备选择模块多选模式。 |
\ No newline at end of file
zh-cn/application-dev/reference/apis/js-apis-continuation-continuationResult.md
浏览文件 @
dbf17f69
...
...
@@ -9,7 +9,7 @@
**系统能力**
:以下各项对应的系统能力均为SystemCapability.Ability.DistributedAbilityManager
| 名称 |
参数
类型 | 可读 | 可写 | 说明 |
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| id | string | 是 | 是 | 表示设备标识。|
| type | string | 是 | 是 | 表示设备类型。 |
...
...
zh-cn/application-dev/reference/apis/js-apis-distributedMissionManager.md
浏览文件 @
dbf17f69
...
...
@@ -372,6 +372,19 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback, callba
| options |
[
ContinueCallback
](
#continuecallback
)
| 是 | 迁移任务完成回调函数。 |
| callback | AsyncCallback
<
void
>
| 是 | 执行结果回调函数。 |
**错误码:**
以下错误码的详细介绍请参见
[
分布式调度错误码
](
../errorcodes/errorcode-DistributedSchedule.md
)
。
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 16300501 | The system ability work abnormally. |
| 16300502 | Failed to get the missionInfo of the specified missionId. |
| 16300503 | The application is not installed on the remote end and installation-free is not supported. |
| 16300504 | The application is not installed on the remote end but installation-free is supported, try again with freeInstall flag. |
| 16300505 | The operation device must be the device where the application to be continued is located or the target device to be continued. |
| 16300506 | The local continuation task is already in progress. |
**示例:**
```
ts
...
...
@@ -422,6 +435,19 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promi
| ------------------- | ---------------- |
| Promise
<
void
>
| promise方式返回执行结果。 |
**错误码:**
以下错误码的详细介绍请参见
[
分布式调度错误码
](
../errorcodes/errorcode-DistributedSchedule.md
)
。
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 16300501 | The system ability work abnormally. |
| 16300502 | Failed to get the missionInfo of the specified missionId. |
| 16300503 | The application is not installed on the remote end and installation-free is not supported. |
| 16300504 | The application is not installed on the remote end but installation-free is supported, try again with freeInstall flag. |
| 16300505 | The operation device must be the device where the application to be continued is located or the target device to be continued. |
| 16300506 | The local continuation task is already in progress. |
**示例:**
```
ts
...
...
@@ -471,7 +497,7 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promi
**系统能力**
:SystemCapability.Ability.AbilityRuntime.Mission
| 名称 |
参数
类型 | 可读 | 可写 | 说明 |
| 名称 | 类型 | 可读 | 可写 | 说明 |
| ----------- | ------- | ---- | ---- | ----------- |
| deviceId | string | 是 | 是 | 表示设备ID。 |
| fixConflict | boolean | 是 | 是 | 表示是否存在版本冲突。 |
...
...
@@ -485,7 +511,7 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promi
**系统能力**
:SystemCapability.Ability.AbilityRuntime.Mission
| 名称 |
参数
类型 | 可读 | 可写 | 说明 |
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | ------ | ---- | ---- | ------- |
| deviceId | string | 是 | 是 | 表示设备ID。 |
...
...
@@ -497,7 +523,7 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promi
**系统能力**
:SystemCapability.Ability.AbilityRuntime.Mission
| 名称 |
参数
类型 | 可读 | 可写 | 说明 |
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | ------ | ---- | ---- | ------- |
| srcDeviceId | string | 是 | 是 | 表示任务迁移源设备ID。 |
| dstDeviceId | string | 是 | 是 | 表示任务迁移目标设备ID。 |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录