提交 50d28b9e 编写于 作者: E ester.zhou

Update docs (16408)

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 215c644e
...@@ -41,7 +41,7 @@ To call APIs to access these resources, you must apply for the corresponding per ...@@ -41,7 +41,7 @@ To call APIs to access these resources, you must apply for the corresponding per
- If an application can call an API only after it has obtained a specific permission, the following description is provided for the API: "**Required permissions**: ohos.permission.xxxx" - If an application can call an API only after it has obtained a specific permission, the following description is provided for the API: "**Required permissions**: ohos.permission.xxxx"
- If an application can call an API without any permission, no special description is provided. - If an application can call an API without any permission, no special description is provided.
To determine whether an application can request a specific permission, see [Permission Application and Use](../../security/accesstoken-overview.md#permission-application-and-use). To determine whether an application can request a specific permission, see [Permission Application and Use](../../security/accesstoken-overview.md#applying-for-and-using-a-permission).
## System Capability Description ## System Capability Description
......
...@@ -26,7 +26,7 @@ Sets the media query condition. This API returns the corresponding media query l ...@@ -26,7 +26,7 @@ Sets the media query condition. This API returns the corresponding media query l
| Name | Type | Mandatory | Description | | Name | Type | Mandatory | Description |
| --------- | ------ | ---- | ---------------------------------------- | | --------- | ------ | ---- | ---------------------------------------- |
| condition | string | Yes | Media query condition. For details, see [Syntax of Media Query Conditions](../../ui/ui-ts-layout-mediaquery.md#syntax-of-media-query-conditions).| | condition | string | Yes | Media query condition. For details, see [Syntax of Media Query Conditions](../../ui/ui-ts-layout-mediaquery.md#syntax).|
**Return value** **Return value**
......
...@@ -606,7 +606,7 @@ let opt = { ...@@ -606,7 +606,7 @@ let opt = {
scaleMode: 1 scaleMode: 1
}; };
image.createPixelMap(buffer, opt).then((pixelMap) => { image.createPixelMap(buffer, opt).then((pixelMap) => {
let pasteData = pasteboard.createData(MIMETYPE_PIXELMAP, pixelMap); let pasteData = pasteboard.createData(pasteboard.MIMETYPE_PIXELMAP, pixelMap);
let PixelMap = pasteData.getPrimaryPixelMap(); let PixelMap = pasteData.getPrimaryPixelMap();
}); });
``` ```
......
# SystemCapability List # SystemCapability List
SysCap, short for System Capability, refers to a standalone feature in the OpenHarmony system. SystemCapability (SysCap) is a standalone feature in the OpenHarmony system.
Before using an API for development, you are advised to familiarize yourself with [SysCap](syscap.md), and then consult the following tables to see whether the SysCap set required for the API is supported by the target device type. Before using an API for development, you are advised to familiarize yourself with [SysCap](syscap.md), and then consult the following tables to see whether the SysCap set required for the API is supported by the target device type.
...@@ -172,14 +172,6 @@ Basic network management services ...@@ -172,14 +172,6 @@ Basic network management services
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | Yes | Yes | Yes | Yes | No | No | | Yes | No | Yes | Yes | Yes | Yes | No | No |
## SystemCapability.Communication.NetManager.Extension
Extended network management services
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | No | Yes | Yes | Yes | No | No |
## SystemCapability.Communication.NetStack ## SystemCapability.Communication.NetStack
Basic network stack capability Basic network stack capability
...@@ -315,14 +307,6 @@ Input device management ...@@ -315,14 +307,6 @@ Input device management
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | No | Yes | Yes | Yes | No | No | | Yes | No | No | Yes | Yes | Yes | No | No |
## SystemCapability.MultimodalInput.Input.RemoteInputDevice
Distributed input device management
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | No | Yes | Yes | Yes | No | No |
## SystemCapability.MultimodalInput.Input.InputMonitor ## SystemCapability.MultimodalInput.Input.InputMonitor
Input event listener Input event listener
...@@ -347,14 +331,6 @@ Input event simulator ...@@ -347,14 +331,6 @@ Input event simulator
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | No | Yes | Yes | Yes | No | No | | Yes | No | No | Yes | Yes | Yes | No | No |
## SystemCapability.MultimodalInput.Input.InputFilter
Input event filter
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | No | Yes | Yes | Yes | No | No |
## SystemCapability.PowerManager.BatteryManager.Extension ## SystemCapability.PowerManager.BatteryManager.Extension
Battery manager extension capability Battery manager extension capability
...@@ -453,7 +429,7 @@ Media audio recorder capability ...@@ -453,7 +429,7 @@ Media audio recorder capability
## SystemCapability.Multimedia.Media.VideoPlayer ## SystemCapability.Multimedia.Media.VideoPlayer
Media video player capability Video player capability
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router | | Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
...@@ -1347,7 +1323,7 @@ Contacts ...@@ -1347,7 +1323,7 @@ Contacts
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | Yes | Yes | Yes | No | No | No | | Yes | No | Yes | Yes | Yes | No | No | No |
## SystemCapability.Applictaions.settings.Core ## SystemCapability.Applications.settings.Core
API setting API setting
...@@ -1658,3 +1634,35 @@ Quick fix ...@@ -1658,3 +1634,35 @@ Quick fix
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router | | Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ | | ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | Yes | Yes | Yes | Yes | No | No | | Yes | No | Yes | Yes | Yes | Yes | No | No |
## SystemCapability.MultimodalInput.Input.Pointer
Pointer input enhancement
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | No | Yes | Yes | Yes | No | No |
## SystemCapability.Communication.SecureElement
Secure element access
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| No | No | No | No | No | No | No | No |
## SystemCapability.Msdp.DeviceStatus.Stationarty
Device status awareness
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | No | No | Yes | Yes | Yes | No | No |
## SystemCapability.Base
General type
| Default | Sports Watch| Smart Watch| Tablet| Head Unit| Smart TV| Smart Vision | Router |
| ------- | ------ | ------ | ---- | ---- | ------ | ------------ | ------ |
| Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
...@@ -62,7 +62,7 @@ You can update page content by updating component status. Below is a simple exam ...@@ -62,7 +62,7 @@ You can update page content by updating component status. Below is a simple exam
> **NOTE** > **NOTE**
> >
> Before updating the status of a component, initialize its member variables. The member variables of a custom component can be initialized in either of the following methods: [local initialization](../quick-start/arkts-restrictions-and-extensions.md#initialization-and-restrictions-of-custom-components-member-variables) or [initialization using constructor parameters](../quick-start/arkts-restrictions-and-extensions.md#initialization-and-restrictions-of-custom-components-member-variables). Select the appropriate method based on the decorator used by the variable. > Before updating the status of a component, initialize its member variables. The member variables of a custom component can be initialized in either of the following methods: [local initialization](../quick-start/arkts-restrictions-and-extensions.md#initialization-rules-and-restrictions-of-custom-components-member-variables) or [initialization using constructor parameters](../quick-start/arkts-restrictions-and-extensions.md#initialization-rules-and-restrictions-of-custom-components-member-variables). Select the appropriate method based on the decorator used by the variable.
**Example** **Example**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册