未验证 提交 03b8ceb5 编写于 作者: O openharmony_ci 提交者: Gitee

!6166 【OpenHarmony开源贡献者计划2022】启动模式 表格编号改正

Merge pull request !6166 from hnz/master
......@@ -37,6 +37,8 @@ You can override the lifecycle callbacks provided by the Page ability in the **a
The ability supports two launch types: singleton and multi-instance.
You can specify the launch type by setting **launchType** in the **config.json** file.
**Table 1** Introduction to startup mode
| Launch Type | Description |Description |
| ----------- | ------- |---------------- |
| standard | Multi-instance | A new instance is started each time an ability starts.|
......@@ -48,7 +50,7 @@ By default, **singleton** is used.
## Development Guidelines
### Available APIs
**Table 1** APIs provided by featureAbility
**Table 2** APIs provided by featureAbility
| API | Description |
| --------------------------------------------------- | --------------- |
......@@ -178,7 +180,7 @@ In the cross-device scenario, the application must also apply for the data synch
### Lifecycle APIs
**Table 2** Lifecycle callbacks
**Table 3** Lifecycle callbacks
| API | Description |
| ------------ | ------------------------------------------------------------ |
......
......@@ -43,6 +43,8 @@ ability支持单实例和多实例两种启动模式。
`config.json`中通过launchType配置项,可以配置具体的启动模式,其中:
**表1** 启动模式介绍
| 启动模式 | 描述 |说明 |
| ----------- | ------- |---------------- |
| standard | 多实例 | 每次startAbility都会启动一个新的实例。 |
......@@ -55,7 +57,7 @@ ability支持单实例和多实例两种启动模式。
### featureAbility接口说明
**表1** featureAbility接口介绍
**表2** featureAbility接口介绍
| 接口名 | 描述 |
| --------------------------------------------------- | --------------- |
......@@ -184,7 +186,7 @@ ability支持单实例和多实例两种启动模式。
### 生命周期接口说明
**表2** 生命周期回调函数介绍
**表3** 生命周期回调函数介绍
| 接口名 | 描述 |
| ------------ | ------------------------------------------------------------ |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册