提交 df808420 编写于 作者: G Gloria

Update docs against 19679+19610

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 0a496acb
...@@ -620,7 +620,7 @@ Obtains the want in a **WantAgent** object. This API uses a promise to return th ...@@ -620,7 +620,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**
...@@ -960,7 +960,7 @@ Checks whether two **WantAgent** objects are equal to determine whether the same ...@@ -960,7 +960,7 @@ Checks whether two **WantAgent** objects are equal to determine whether the same
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ---------- | ------------------------ | ---- | --------------------------------------- | | ---------- | ------------------------ | ---- | --------------------------------------- |
| agent | WantAgent | Yes | The first **WantAgent** object. | | agent | WantAgent | Yes | The first **WantAgent** object. |
| otherAgent | WantAgent | Yes | Target **WantAgent** object. | | otherAgent | WantAgent | Yes | The second **WantAgent** object. |
| callback | AsyncCallback\<boolean\> | Yes | Callback used to return the result.| | callback | AsyncCallback\<boolean\> | Yes | Callback used to return the result.|
**Example** **Example**
...@@ -1041,7 +1041,7 @@ Checks whether two **WantAgent** objects are equal to determine whether the same ...@@ -1041,7 +1041,7 @@ Checks whether two **WantAgent** objects are equal to determine whether the same
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ---------- | --------- | ---- | ------------- | | ---------- | --------- | ---- | ------------- |
| agent | WantAgent | Yes | The first **WantAgent** object.| | agent | WantAgent | Yes | The first **WantAgent** object.|
| otherAgent | WantAgent | Yes | Target **WantAgent** object.| | otherAgent | WantAgent | Yes | The second **WantAgent** object. |
**Return value** **Return value**
......
...@@ -5,14 +5,12 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -5,14 +5,12 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
> **NOTE** > **NOTE**
> >
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. > The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
>
> The APIs provided by this module are system APIs.
## BundlePackInfo ## BundlePackInfo
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
...@@ -24,7 +22,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -24,7 +22,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------------------- | -------------- | ---- | ---- | ------------------------------------------------------------ | | ------------------- | -------------- | ---- | ---- | ------------------------------------------------------------ |
...@@ -37,7 +35,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -37,7 +35,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------- | --------------------------------------------- | ---- | ---- | -------------------- | | ------- | --------------------------------------------- | ---- | ---- | -------------------- |
...@@ -48,7 +46,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -48,7 +46,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ---------- | ------------------- | ---- | ---- | -------------------------------------- | | ---------- | ------------------- | ---- | ---- | -------------------------------------- |
...@@ -59,7 +57,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -59,7 +57,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------------------ | ------------------------------------------------- | ---- | ---- | ---------------------------------- | | ------------------ | ------------------------------------------------- | ---- | ---- | ---------------------------------- |
...@@ -74,7 +72,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -74,7 +72,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------------------- | ------- | ---- | ---- | ------------------------------------------------------------ | | ------------------- | ------- | ---- | ---- | ------------------------------------------------------------ |
...@@ -87,7 +85,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -87,7 +85,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------- | ------------------------------------------- | ---- | ---- | ------------------------------------------------------------ | | ------- | ------------------------------------------- | ---- | ---- | ------------------------------------------------------------ |
...@@ -100,7 +98,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -100,7 +98,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ----- | ------------------------------------------- | ---- | ---- | ------------------------------------------------------------ | | ----- | ------------------------------------------- | ---- | ---- | ------------------------------------------------------------ |
...@@ -111,7 +109,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -111,7 +109,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------------------- | -------------- | ---- | ---- | ------------------------------------------------------------ | | ------------------- | -------------- | ---- | ---- | ------------------------------------------------------------ |
...@@ -127,7 +125,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -127,7 +125,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ----------- | ------ | ---- | ---- | -------------------- | | ----------- | ------ | ---- | ---- | -------------------- |
...@@ -139,7 +137,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th ...@@ -139,7 +137,7 @@ The **BundlePackInfo** module provides information in the **pack.info** file. Th
**System API**: This is a system API. **System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFrameWork.FreeInstall **System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------------------------ | ------ | ---- | ---- | ------------------------------------------------------------ | | ------------------------ | ------ | ---- | ---- | ------------------------------------------------------------ |
......
...@@ -7,6 +7,8 @@ The **BusinessAbilityInfo** module provides basic information about a business a ...@@ -7,6 +7,8 @@ The **BusinessAbilityInfo** module provides basic information about a business a
## BusinessAbilityInfo ## BusinessAbilityInfo
**System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFramework.Core **System capability**: SystemCapability.BundleManager.BundleFramework.Core
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
......
...@@ -8,7 +8,7 @@ The **OverlayModuleInfo** module provides information about a module with the ov ...@@ -8,7 +8,7 @@ The **OverlayModuleInfo** module provides information about a module with the ov
## OverlayModuleInfo ## OverlayModuleInfo
**System capability**: SystemCapability.BundleManager.BundleFramework.Overlay **System capability**: SystemCapability.BundleManager.BundleFramework.Core
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| --------------------- | ---------------------------------------------------| ---- | ---- | ---------------------------------------------- | | --------------------- | ---------------------------------------------------| ---- | ---- | ---------------------------------------------- |
......
...@@ -10,6 +10,8 @@ The **SharedBundleInfo** module provides information about the shared bundle. Th ...@@ -10,6 +10,8 @@ The **SharedBundleInfo** module provides information about the shared bundle. Th
Defines the shared bundle information. Defines the shared bundle information.
**System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFramework.Core **System capability**: SystemCapability.BundleManager.BundleFramework.Core
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
...@@ -22,6 +24,8 @@ Defines the shared bundle information. ...@@ -22,6 +24,8 @@ Defines the shared bundle information.
Defines the shared module information. Defines the shared module information.
**System API**: This is a system API.
**System capability**: SystemCapability.BundleManager.BundleFramework.Core **System capability**: SystemCapability.BundleManager.BundleFramework.Core
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
......
...@@ -113,8 +113,9 @@ Enumerates the types of Extension abilities. ...@@ -113,8 +113,9 @@ Enumerates the types of Extension abilities.
| THUMBNAIL | 13 | ThumbnailExtensionAbility: provides thumbnails for files. This ability is reserved.| | THUMBNAIL | 13 | ThumbnailExtensionAbility: provides thumbnails for files. This ability is reserved.|
| PREVIEW | 14 | PreviewExtensionAbility: provides APIs for file preview so that other applications can be embedded and displayed in the current application. This ability is reserved.| | PREVIEW | 14 | PreviewExtensionAbility: provides APIs for file preview so that other applications can be embedded and displayed in the current application. This ability is reserved.|
| PRINT<sup>10+</sup> | 15 | PrintExtensionAbility: provides APIs for printing images. Printing documents is not supported yet.| | PRINT<sup>10+</sup> | 15 | PrintExtensionAbility: provides APIs for printing images. Printing documents is not supported yet.|
| PUSH<sup>10+</sup> | 17 | **PushExtensionAbility**: provides APIs for pushing scenario-specific messages. This ability is reserved.| | PUSH<sup>10+</sup> | 17 | PushExtensionAbility: provides APIs for pushing scenario-specific messages. This ability is reserved.|
| DRIVER<sup>10+</sup> | 18 | DriverExtensionAbility: provides APIs for the peripheral driver. This type of ability is not supported yet.| | DRIVER<sup>10+</sup> | 18 | DriverExtensionAbility: provides APIs for the peripheral driver. This type of ability is not supported yet.|
| APP_ACCOUNT_AUTHORIZATION<sup>10+</sup> | 19 | AuthorizationExtensionAbility: provides APIs to process authorization requests for application accounts and allow account authorization from a third-party (relative to the operating system vendor) ecosystem platform.|
| UNSPECIFIED | 255 | No type is specified. It is used together with **queryExtensionAbilityInfo** to query all types of Extension abilities.| | UNSPECIFIED | 255 | No type is specified. It is used together with **queryExtensionAbilityInfo** to query all types of Extension abilities.|
......
...@@ -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-application-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.
先完成此消息的编辑!
想要评论请 注册