提交 697ab8a8 编写于 作者: L liyufan

fix error

Signed-off-by: Nliyufan <liyufan5@huawei.com>
上级 b31f71e1
......@@ -847,7 +847,7 @@ connection.getDefaultNet().then(function (netHandle) {
## connection.getNetCapabilitiesSync<sup>10+</sup>
getNetCapabilities(netHandle: NetHandle): NetCapabilities
getNetCapabilitiesSync(netHandle: NetHandle): NetCapabilities
获取netHandle对应的网络的能力信息,使用同步方式返回。
......@@ -1614,7 +1614,7 @@ netCon.unregister(function (error) {
### on('netCapabilitiesChange')<sup>8+</sup>
on(type: 'netCapabilitiesChange', callback: Callback<NetCapabilityInfo>): void
on(type: 'netCapabilitiesChange', callback: Callback\<NetCapabilityInfo>): void
订阅网络能力变化事件。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册