diff --git a/network/netmanager/include/net_connection.h b/network/netmanager/include/net_connection.h index 1cd795d0568fa1e3baf0a249651b974108324c83..03116f968bd3b0f0bf79dcd6c26aba2534aede9f 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.