From 2cc5dee8af099f590aa34e30b37aa5c9ccbc1415 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Fri, 9 Sep 2022 09:34:58 +0000 Subject: [PATCH] fixed 4f4f943 from https://gitee.com/zengyawen/docs/pulls/9345 update zh-cn/application-dev/reference/apis/js-apis-net-connection.md. Signed-off-by: zengyawen --- .../reference/apis/js-apis-net-connection.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zh-cn/application-dev/reference/apis/js-apis-net-connection.md b/zh-cn/application-dev/reference/apis/js-apis-net-connection.md index d61b8558b2..2a182fbe00 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-net-connection.md +++ b/zh-cn/application-dev/reference/apis/js-apis-net-connection.md @@ -117,6 +117,7 @@ getAllNets(callback: AsyncCallback<Array<NetHandle>>): void **系统能力**:SystemCapability.Communication.NetManager.Core **参数:** + | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | callback | AsyncCallback<Array<[NetHandle](#nethandle)>> | 是 | 回调函数。 | @@ -142,6 +143,7 @@ getAllNets(): Promise<Array<NetHandle>> **系统能力**:SystemCapability.Communication.NetManager.Core **返回值:** + | 类型 | 说明 | | -------- | -------- | | Promise<Array<[NetHandle](#nethandle)>> | 以Promise形式返回激活的数据网络列表。 | @@ -285,6 +287,7 @@ reportNetConnected(netHandle: NetHandle, callback: AsyncCallback<void>): v **系统能力**:SystemCapability.Communication.NetManager.Core **参数:** + | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | netHandle | [NetHandle](#nethandle) | 是 | 数据网络的句柄,参考[NetHandle](#nethandle)。 | @@ -312,6 +315,7 @@ reportNetConnected(netHandle: NetHandle): Promise<void> **系统能力**:SystemCapability.Communication.NetManager.Core **参数:** + | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | netHandle | [NetHandle](#nethandle) | 是 | 数据网络的句柄,参考[NetHandle](#nethandle)。 | @@ -343,6 +347,7 @@ reportNetDisconnected(netHandle: NetHandle, callback: AsyncCallback<void>) **系统能力**:SystemCapability.Communication.NetManager.Core **参数:** + | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | netHandle | [NetHandle](#nethandle) | 是 | 数据网络的句柄,参考[NetHandle](#nethandle)。 | @@ -370,6 +375,7 @@ reportNetDisconnected(netHandle: NetHandle): Promise<void> **系统能力**:SystemCapability.Communication.NetManager.Core **参数:** + | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | netHandle | [NetHandle](#nethandle) | 是 | 数据网络的句柄,参考[NetHandle](#nethandle)。 | -- GitLab