# 估计报告

Source: [https://docs.qualcomm.com/doc/80-PK177-134Y/topic/lce_iestimation_report.html](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/lce_iestimation_report.html)

提供估计报告。

**Java**

    IestimationReport() {public void onValues(long rate, confidenceLevel confidenceLevel, linkDirection linkDirection, long queueSizeUL, String error) {}}Copy to clipboard

**原生**

    typedef void (*lce_estimationReport) (uint32_t rate, lce_confidenceLevel confidenceLevel, 	lce_linkDirection linkDirection, uint32_t queueSizeUL, string error);Copy to clipboard

## 回调参数

| 参数 | API 类型 | 数据类型 | 说明 |
| --- | --- | --- | --- |
| rate | Java | long | Modem 上行链路和下行链路的数据速率（以 kbps 为单位）。 |
| rate | 原生 | uint32\_t | Modem 上行链路和下行链路的数据速率（以 kbps 为单位）。 |
| confidenceLevel | Java | confidenceLevel | Modem 生成的吞吐量信息的精度和可信度。 |
| confidenceLevel | 原生 | lce\_confidenceLevel | Modem 生成的吞吐量信息的精度和可信度。 |
| linkDirection | Java | linkDirection | 当前报告的链路方向。 |
| linkDirection | 原生 | lce\_linkDirection | 当前报告的链路方向。 |
| queueSizeUL | Java | long | 队列大小表示上行链路 MAC 层的待处理数据量（以字节为单位）。对于下行链路，该参数始终为 0。 |
| queueSizeUL | 原生 | uint32\_t | 队列大小表示上行链路 MAC 层的待处理数据量（以字节为单位）。对于下行链路，该参数始终为 0。 |
| error | Java | 字符串 | 错误字符串。如果没有错误，设置 NONE。<br><br><br>                <br>可能错误如下：<br><br><br>                <ul class="ul" id="concept.dita_5fdc4391-6200-4960-b5ff-d8b7676cad60__ul_kly_v1x_m5b"><br>                  <li class="li">REPORTING_CRITERIA_NOT_SET</li><br><br>                  <li class="li">UNKNOWN_ERROR</li><br><br>                </ul> |
| error | 原生 | 字符串 | 错误字符串。如果没有错误，设置 NONE。<br><br><br>                <br>可能错误如下：<br><br><br>                <ul class="ul" id="concept.dita_5fdc4391-6200-4960-b5ff-d8b7676cad60__ul_kly_v1x_m5b"><br>                  <li class="li">REPORTING_CRITERIA_NOT_SET</li><br><br>                  <li class="li">UNKNOWN_ERROR</li><br><br>                </ul> |
|  |  |  |  |

**Parent Topic:** [LCE 回调接口](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/lce_callback_interfaces.html)

Last Published: Jun 22, 2023

[Previous Topic
异步结果](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/lce_iasync_result.md) [Next Topic
LCE 枚举](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/lce_enums.md)