From 41131a9180db1a94a6f6972620bfe418a02c06d0 Mon Sep 17 00:00:00 2001 From: HuangHaitao Date: Thu, 6 Mar 2025 07:09:38 +0000 Subject: [PATCH] update network/netmanager/include/net_connection.h. Signed-off-by: HuangHaitao --- network/netmanager/include/net_connection.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/network/netmanager/include/net_connection.h b/network/netmanager/include/net_connection.h index 1cd795d05..03116f968 100644 --- a/network/netmanager/include/net_connection.h +++ b/network/netmanager/include/net_connection.h @@ -107,7 +107,7 @@ int32_t OH_NetConn_GetConnectionProperties(NetConn_NetHandle *netHandle, NetConn * @brief Obtains the capabilities of a data network. * * @param netHandle Pointer to the network handle that contains the network ID. - * @param netCapacities Pointer to the network capabilities. + * @param netCapabilities Pointer to the network capabilities. * @return 0 - Success. 201 - Missing permissions. * 401 - Parameter error. 2100002 - Unable to connect to service. * 2100003 - Internal error. @@ -289,8 +289,8 @@ void OH_NetConn_UnregisterAppHttpProxyCallback(uint32_t callbackId); /** * @brief Registers callback, used to monitor specific network status. * - * @param netSpecifier specifier information. - * @param callback The callback needed to be registered. + * @param specifier specifier information. + * @param netConnCallback The callback needed to be registered. * @param timeout The timeout period in milliseconds. * @param callbackId out param, corresponding to a registered callback. * @return 0 - Success. @@ -311,7 +311,7 @@ int32_t OH_NetConn_RegisterNetConnCallback(NetConn_NetSpecifier *specifier, NetC /** * @brief Registers a callback to listen default network's status changed. * - * @param callback The callback needed to be registered. + * @param netConnCallback The callback needed to be registered. * @param callbackId out param, corresponding to a registered callback. * @return 0 - Success. * 201 - Permission denied. -- Gitee