提交 475fd0d5 编写于 作者: D du-zhihai

一致性检查修复

Signed-off-by: Ndu-zhihai <duzhihai@huawei.com>
Change-Id: I45915cf290c008454f601feb17b02242c02b8eae
上级 5e140ab8
......@@ -12,7 +12,7 @@
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.DistributedAbilityManager
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| deviceType | Array\<string> | 是 | 是 | 表示设备类型。|
| targetBundle | string | 是 | 是 | 表示目标包名。 |
......
......@@ -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
......@@ -9,7 +9,7 @@
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.DistributedAbilityManager
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| 名称 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| id | string | 是 | 是 | 表示设备标识。|
| type | string | 是 | 是 | 表示设备类型。 |
......
......@@ -372,6 +372,19 @@ continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback, callba
| options | [ContinueCallback](#continuecallback) | 是 | 迁移任务完成回调函数。 |
| callback | AsyncCallback&lt;void&gt; | 是 | 执行结果回调函数。 |
**错误码:**
以下错误码的详细介绍请参见[分布式调度错误码](../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&lt;void&gt; | 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.
先完成此消息的编辑!
想要评论请 注册