提交 7120ac89 编写于 作者: W wusongqing

updated docs

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 2ab9f274
......@@ -85,7 +85,7 @@ featureAbility.startAbility(
uri: ""
},
}
).then((data) => {
).then((data) => {
console.info("==========================>startAbility=======================>");
});
```
......@@ -153,6 +153,9 @@ featureAbility.startAbilityForResult(
uri:""
},
},
(err, data) => {
console.info("err: " + JSON.stringfy(err) + "data: " + JSON.stringfy(data))
}
)
```
......@@ -476,7 +479,8 @@ Destroys this Page ability, with the result code and data sent to the caller. Th
```javascript
import featureAbility from '@ohos.ability.featureability';
featureAbility.terminateSelf().then((data) => { console.info("==========================>terminateSelfCallBack=======================>");
featureAbility.terminateSelf().then((data) => {
console.info("==========================>terminateSelfCallBack=======================>");
});
```
......@@ -642,7 +646,7 @@ var connId = featureAbility.connectAbility(
},
);
featureAbility.disconnectAbility(connId).then((error,data)=>{
featureAbility.disconnectAbility(connId).then((error,data) => {
console.log('featureAbilityTest result errCode : ' + error.code + " data: " + data);
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册