目录

NetworkBoost_NetworkQos

Overview

Defines network quality data that is returned.

Since: 5.1.0(18)

Related module: NetworkBoost

Header file: network_boost_quality.h

Summary

[h2]Member Variables

Variable Description
NetworkBoost_PathType pathType Type of the path for which the network quality data needs to be returned.
uint64_t linkUpBandwidth Uplink bandwidth, in bit/s.
uint64_t linkDownBandwidth Downlink bandwidth, in bit/s.
uint64_t linkUpRate Uplink rate, in bit/s.
uint64_t linkDownRate Downlink rate, in bit/s.
uint32_t rttMs

RTT, which indicates the average RTT of all uplink and downlink TCP data packets on the data path corresponding to pathType in a statistical period. The value can be 0 or a positive number, in milliseconds.

If no response to a certain TCP request is received within the statistical period, the RTT of that request will not be included for calculating the average RTT. As a result, when the Internet is completely unreachable, the RTT returned is relatively small because no responses to TCP requests are received, creating a mismatch with the actual status. In such cases, you are advised to use the on('netCapabilitiesChange') method for comprehensive evaluation.

uint32_t linkUpBufferDelayMs Uplink air interface buffer delay, in milliseconds. The value is any positive number.
uint32_t linkUpBufferCongestionPercent Percentage of the uplink air interface buffer delay to the total buffering time. The value range is [0, 100].

Member Variable Description

[h2]linkDownBandwidth

uint64_t NetworkBoost_NetworkQos::linkDownBandwidth

Description

Downlink bandwidth, in bit/s.

[h2]linkDownRate

uint64_t NetworkBoost_NetworkQos::linkDownRate

Description

Downlink rate, in bit/s.

[h2]linkUpBandwidth

uint64_t NetworkBoost_NetworkQos::linkUpBandwidth

Description

Uplink bandwidth, in bit/s.

[h2]linkUpBufferCongestionPercent

uint32_t NetworkBoost_NetworkQos::linkUpBufferCongestionPercent

Description

Percentage of the uplink air interface buffer delay to the total buffering time. The value range is [0, 100].

[h2]linkUpBufferDelayMs

uint32_t NetworkBoost_NetworkQos::linkUpBufferDelayMs

Description

Uplink air interface buffer delay, in milliseconds. The value is any positive number.

[h2]linkUpRate

uint64_t NetworkBoost_NetworkQos::linkUpRate

Description

Uplink rate, in bit/s.

[h2]pathType

NetworkBoost_PathType NetworkBoost_NetworkQos::pathType

Description

Type of the path for which the network quality data needs to be returned.

[h2]rttMs

uint32_t NetworkBoost_NetworkQos::rttMs

Description

RTT, in milliseconds. The value is any positive number.