1e41f4b71Sopenharmony_ci# Skill
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciskill标签对象,三方应用可以通过[bundleManager.getBundleInfoForSelf](js-apis-bundleManager.md#bundlemanagergetbundleinfoforself)获取skill信息,其中入参bundleFlags至少包含GET_BUNDLE_INFO_WITH_HAP_MODULE和GET_BUNDLE_INFO_WITH_ABILITY和GET_BUNDLE_INFO_WITH_SKILL。
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **说明:**
6e41f4b71Sopenharmony_ci> 本模块首批接口从API version 12 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci## Skill
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci**原子化服务API:** 从API version 12开始,该接口支持在原子化服务中使用。
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**系统能力**: SystemCapability.BundleManager.BundleFramework.Core
14e41f4b71Sopenharmony_ci| 名称     | 类型   | 可读 | 可写 | 说明       |
15e41f4b71Sopenharmony_ci| -------- | ------ | ---- | ---- | ---------- |
16e41f4b71Sopenharmony_ci| actions     | Array\<string> | 是   | 否   | Skill接收的Action集合。 |
17e41f4b71Sopenharmony_ci| entities    | Array\<string> | 是   | 否   | Skill接收的Entity集合。   |
18e41f4b71Sopenharmony_ci| uris | Array<\<SkillUri>> | 是   | 否   | Want匹配的Uri集合。 |
19e41f4b71Sopenharmony_ci| domainVerify     | boolean | 是   | 否   | Skill接收的DomainVerify值, 仅在AbilityInfo中存在。 |
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci## SkillUri
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci**原子化服务API:** 从API version 12开始,该接口支持在原子化服务中使用。
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci**系统能力**: SystemCapability.BundleManager.BundleFramework.Core
26e41f4b71Sopenharmony_ci| 名称            | 类型   | 可读 | 可写 | 说明                                                        |
27e41f4b71Sopenharmony_ci| --------------- | ------ | ---- | ---- | ----------------------------------------------------------- |
28e41f4b71Sopenharmony_ci| scheme          | string | 是   | 否   | 标识 URI 协议名,常见的有http、https、file、ftp等。          |
29e41f4b71Sopenharmony_ci| host            | string | 是   | 否   | 标识 URI 主机地址部分,仅当 scheme 存在时有意义。            |
30e41f4b71Sopenharmony_ci| port            | number | 是   | 否   | 标识 URI 端口部分,仅当 scheme 和 host 同时存在时有意义。   |
31e41f4b71Sopenharmony_ci| path            | string | 是   | 否   | 标识 URI 路径部分,仅当 scheme 和 host 同时存在时有意义。   |
32e41f4b71Sopenharmony_ci| pathStartWith   | string | 是   | 否   | 标识 URI 路径部分,用于前缀匹配,仅当 scheme 和 host 同时存在时有意义。 |
33e41f4b71Sopenharmony_ci| pathRegex       | string | 是   | 否   | 标识 URI 路径部分,用于正则匹配,仅当 scheme 和 host 同时存在时有意义。 |
34e41f4b71Sopenharmony_ci| type            | string | 是   | 否   | 标识与Want相匹配的数据类型,使用MIME(Multipurpose Internet Mail Extensions)类型规范。 |
35e41f4b71Sopenharmony_ci| utd             | string | 是   | 否   | 标识与 Want 相匹配的 URI 的标准化数据类型,适用于分享等场景。 |
36e41f4b71Sopenharmony_ci| maxFileSupported | number   | 是   | 否   | 对于指定类型的文件,标识一次能接收或打开的最大数量。 |
37e41f4b71Sopenharmony_ci| linkFeature     | string | 是   | 否   | 标识 URI 提供的功能类型,用于实现应用间跳转, 仅在AbilityInfo中存在。 |