Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
interfaces/ | 12-May-2024 | - | 15,573 | 9,545 | ||
test/ | 12-May-2024 | - | 13,586 | 8,759 | ||
BUILD.gn | D | 12-May-2024 | 5.4 KiB | 191 | 159 | |
LICENSE | D | 12-May-2024 | 10.1 KiB | 177 | 150 | |
OAT.xml | D | 12-May-2024 | 3.8 KiB | 68 | 14 | |
README.md | D | 12-May-2024 | 2 KiB | 45 | 30 | |
ability_base.gni | D | 12-May-2024 | 886 | 19 | 17 | |
bundle.json | D | 12-May-2024 | 3.5 KiB | 104 | 103 |
README.md
1# 元能力基础部件 2 3## 简介 4 5**ability_base**部件作为元能力的基础定义部件,提供组件启动参数(Want),系统环境参数(Configuration),URI参数(Uniform Resource Identifier)的定义,用于启动应用,获取环境参数等功能。 6 7**部件内子模块职责** 8 9| 子模块名称 | 职责 | 10| ---------------- | ------------------------------------------------------------| 11| Want模块 | 组件启动参数模块,开发者可以使用Want携带自定义参数,显示/隐示启动应用,同时支持Pending机制,可本地及跨设备延迟启动目标组件。 | 12| Configuration模块 | 系统环境参数模块,支持开发者查询当前环境配置信息,感知系统环境变化。 | 13| URI模块 | URI参数定义模块,提供本地及跨设备资源访问能力,开发者可以使用URI访问文件等资源。 | 14| Base模块 | 基础数据类型模块,提供Boolean,Integer,String等支持Want携带的基础数据类型定义,方便开发者启动过程中传递自定义参数。 | 15 16## 目录 17 18``` 19foundation/ability/ability_base 20├── frameworks 21│ └── js 22│ └── napi # ability_base的napi代码实现 23│ └── native # ability_base的核心代码实现 24├── interfaces 25│ └── inner_api # ability_base的系统内部件间接口 26└── test # 测试目录 27``` 28 29## 使用说明 30功能模块开发指导可参考[**开发指南**](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/ability/Readme-CN.md) 31 32 33## 相关仓 34元能力子系统 35 36[**ability_base**](https://gitee.com/openharmony/ability_ability_base) 37 38[ability_runtime](https://gitee.com/openharmony/ability_ability_runtime) 39 40[dmsfwk](https://gitee.com/openharmony/ability_dmsfwk) 41 42[form_fwk](https://gitee.com/openharmony/ability_form_fwk) 43 44[idl_tool](https://gitee.com/openharmony/ability_idl_tool) 45