connection.getConnectionProperties可以获取netHandle对应的网络的连接信息,参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-net-connection-V5\#connectiongetconnectionproperties
connection.getConnectionProperties可以获取netHandle对应的网络的连接信息,参考链接:
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-net-connection-V5\#connectiongetconnectionproperties