未验证 提交 4f0a4680 编写于 作者: O openharmony_ci 提交者: Gitee

!19978 翻译完成:19643 fix link error

Merge pull request !19978 from wusongqing/TR19643
...@@ -24,7 +24,7 @@ Obtains a **WantAgent** object. This API uses an asynchronous callback to return ...@@ -24,7 +24,7 @@ Obtains a **WantAgent** object. This API uses an asynchronous callback to return
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| -------- | -------------------------- | ---- | ----------------------- | | -------- | -------------------------- | ---- | ----------------------- |
| info | WantAgentInfo | Yes | Information about the **WantAgent** object to obtain. | | info | [WantAgentInfo](js-apis-inner-wantAgent-wantAgentInfo.md) | Yes | Information about the **WantAgent** object to obtain. |
| callback | AsyncCallback\<WantAgent\> | Yes | Callback used to return the **WantAgent** object.| | callback | AsyncCallback\<WantAgent\> | Yes | Callback used to return the **WantAgent** object.|
**Error codes** **Error codes**
...@@ -596,7 +596,7 @@ Obtains the want in a **WantAgent** object. This API uses a promise to return th ...@@ -596,7 +596,7 @@ Obtains the want in a **WantAgent** object. This API uses a promise to return th
| Type | Description | | Type | Description |
| ----------------------------------------------------------- | ------------------------------------------------------------ | | ----------------------------------------------------------- | ------------------------------------------------------------ |
| Promise\<Want\> | Promise used to return the want.| | Promise\<[Want](js-apis-app-ability-want.md)\> | Promise used to return the want.|
**Error codes** **Error codes**
...@@ -841,7 +841,7 @@ Triggers a **WantAgent** object. This API uses an asynchronous callback to retur ...@@ -841,7 +841,7 @@ Triggers a **WantAgent** object. This API uses an asynchronous callback to retur
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ----------- | ----------------------------- | ---- | ------------------------------- | | ----------- | ----------------------------- | ---- | ------------------------------- |
| agent | WantAgent | Yes | Target **WantAgent** object. | | agent | WantAgent | Yes | Target **WantAgent** object. |
| triggerInfo | TriggerInfo | Yes | **TriggerInfo** object. | | triggerInfo | [TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md) | Yes | **TriggerInfo** object. |
| callback | AsyncCallback\<[CompleteData](#completedata)\> | No | Callback used to return the result.| | callback | AsyncCallback\<[CompleteData](#completedata)\> | No | Callback used to return the result.|
**Example** **Example**
......
...@@ -16,7 +16,7 @@ import wantAgent from '@ohos.app.ability.wantAgent'; ...@@ -16,7 +16,7 @@ import wantAgent from '@ohos.app.ability.wantAgent';
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| -------------- | ------------------------------- | ---- | ---------------------- | | -------------- | ------------------------------- | ---- | ---------------------- |
| wants | Array\<Want\> | Yes | Array of all **Want** objects. | | wants | Array\<[Want](js-apis-inner-ability-want.md)\> | Yes | Array of all **Want** objects. |
| operationType | [wantAgent.OperationType](js-apis-app-ability-wantAgent.md#operationtype) | Yes | Operation type. | | operationType | [wantAgent.OperationType](js-apis-app-ability-wantAgent.md#operationtype) | Yes | Operation type. |
| requestCode | number | Yes | Request code defined by the user.| | requestCode | number | Yes | Request code defined by the user.|
| wantAgentFlags | Array<[wantAgent.WantAgentFlags](js-apis-app-ability-wantAgent.md#wantagentflags)> | No | Array of flags for using the **WantAgent** object. | | wantAgentFlags | Array<[wantAgent.WantAgentFlags](js-apis-app-ability-wantAgent.md#wantagentflags)> | No | Array of flags for using the **WantAgent** object. |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册