提交 ec599206 编写于 作者: W wusongqing

updated docs

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 3d43f67e
...@@ -417,7 +417,7 @@ Connects this ability to a specific Service ability. This API uses a callback to ...@@ -417,7 +417,7 @@ Connects this ability to a specific Service ability. This API uses a callback to
## particleAbility.disconnectAbility ## particleAbility.disconnectAbility
disconnectAbility(connection: number, callback:AsyncCallback<void>): void; disconnectAbility(connection: number, callback:AsyncCallback\<void>): void;
Disconnects this ability from the Service ability. This API uses a callback to return the result. Disconnects this ability from the Service ability. This API uses a callback to return the result.
...@@ -463,7 +463,7 @@ Disconnects this ability from the Service ability. This API uses a callback to r ...@@ -463,7 +463,7 @@ Disconnects this ability from the Service ability. This API uses a callback to r
## particleAbility.disconnectAbility ## particleAbility.disconnectAbility
disconnectAbility(connection: number): Promise<void>; disconnectAbility(connection: number): Promise\<void>;
Disconnects this ability from the Service ability. This API uses a promise to return the result. Disconnects this ability from the Service ability. This API uses a promise to return the result.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册