harmony 鸿蒙NetConn_NetCapabilities

  • 2025-06-12
  • 浏览 (4)

NetConn_NetCapabilities

Overview

Defines network capability sets.

Since: 11

Related module: NetConnection

Header file: net_connection_type.h

Summary

Member Variables

Name Use guide
linkUpBandwidthKbps Uplink bandwidth.
linkDownBandwidthKbps Downlink bandwidth.
netCaps [NETCONN_MAX_CAP_SIZE] Network capability list.
netCapsSize Actual size of the network capability list.
bearerTypes [NETCONN_MAX_BEARER_TYPE_SIZE] Bearer type list.
bearerTypesSize Actual size of the bearer type list.

Member Variable Description

bearerTypes

NetConn_NetBearerType NetConn_NetCapabilities::bearerTypes[NETCONN_MAX_BEARER_TYPE_SIZE]

Description

Bearer type list.

bearerTypesSize

int32_t NetConn_NetCapabilities::bearerTypesSize

Description

Actual size of the bearer type list.

linkDownBandwidthKbps

uint32_t NetConn_NetCapabilities::linkDownBandwidthKbps

Description

Downlink bandwidth.

linkUpBandwidthKbps

uint32_t NetConn_NetCapabilities::linkUpBandwidthKbps

Description

Uplink bandwidth.

netCaps

NetConn_NetCap NetConn_NetCapabilities::netCaps[NETCONN_MAX_CAP_SIZE]

Description

Network capability list.

netCapsSize

int32_t NetConn_NetCapabilities::netCapsSize

Description

Actual size of the network capability list.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Network Kit

harmony 鸿蒙NetConn_ConnectionProperties

harmony 鸿蒙NetConn_HttpProxy

harmony 鸿蒙NetConn_NetAddr

harmony 鸿蒙NetConn_NetConnCallback

harmony 鸿蒙NetConn_NetHandle

harmony 鸿蒙NetConn_NetHandleList

harmony 鸿蒙NetConn_NetSpecifier

harmony 鸿蒙NetConn_Route

harmony 鸿蒙NetConnection

0  赞