提交 1bba1792 编写于 作者: Y Yangys

Update connect Docs

Signed-off-by: NYangys <yangyousheng@huawei.com>
Change-Id: I818ad83e4478383cc518ae1514e002ce76a6c5ae
上级 86e07fad
...@@ -15,7 +15,7 @@ import connection from '@ohos.net.connection' ...@@ -15,7 +15,7 @@ import connection from '@ohos.net.connection'
createNetConnection(netSpecifier?: NetSpecifier, timeout?: number): NetConnection createNetConnection(netSpecifier?: NetSpecifier, timeout?: number): NetConnection
返回一个NetConnection对象,netSpecifier指定关注的网络的各项特征,timeout是超时时间(单位是毫秒),netSpecifier是timeout的必要条件,两者都没有则表示关注默认网络。 返回一个NetConnection对象,netSpecifier指定关注的网络的各项特征,undefined时关注默认网络;timeout是超时时间(单位是毫秒),undefined时默认值为0;netSpecifier是timeout的必要条件,两者都没有则表示关注默认网络。
**系统能力**:SystemCapability.Communication.NetManager.Core **系统能力**:SystemCapability.Communication.NetManager.Core
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册