未验证 提交 7bd8b2da 编写于 作者: O openharmony_ci 提交者: Gitee

!4579 翻译完成: 4102 修复want资料说明中parameters字段错误

Merge pull request !4579 from wusongqing/TR4102
......@@ -86,24 +86,6 @@ By default, **singleton** is used.
);
```
You can also include **parameters** in the **want** parameter and set its value in the key-value format.
**Example**
```javascript
import featureAbility from '@ohos.ability.featureAbility'
featureAbility.startAbility({
want:
{
bundleName: "com.example.myapplication",
uri: "",
parameters: {
abilityName: "com.example.entry.secondAbility"
}
},
},
);
```
### Starting a Remote Page Ability (Applying only to System Applications)
>Note: The **getTrustedDeviceListSync** API of the **DeviceManager** class is open only to system applications. Therefore, remote Page ability startup applies only to system applications.
......@@ -235,4 +217,4 @@ export default {
## Samples
The following sample is provided to help you better understand how to develop a Page ability:
- [`DMS`: Distributed Demo (eTS, API version 7)](https://gitee.com/openharmony/app_samples/tree/master/ability/DMS)
- [`DMS`: Distributed Demo (eTS, API version 8)](https://gitee.com/openharmony/app_samples/tree/master/ability/DMS)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册