# registerForEstimationReports

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

注册估计报告。成功调用 [setReportingCriteria](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/lce_set_reporting_criteria.html) 后会生成报告。有关报告结构，参见 [估计报告](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/lce_iestimation_report.html)。

Note: 必须在调用 `setReportingCriteria` 之前调用 `registerForEstimationReports`。

## 参数

| 参数 | API 类型 | 数据类型 | 说明 |
| --- | --- | --- | --- |
| estimationReportCallback | Java | IestimationReport | 用于接收估计报告的回调。 |
| estimationReportCallback | 原生 | lce\_estimationReport | 用于接收估计报告的回调。 |
|  |  |  |  |

## 返回结果

| 返回结果 | API 类型 | 数据类型 | 说明 |
| --- | --- | --- | --- |
| 状态 | Java | int | <ul class="ul"><br>                  <li class="li">1 - 成功</li><br><br>                  <li class="li">-1 - IQesdk 为 NULL</li><br><br>                  <li class="li">-2 - 子系统错误</li><br><br>                </ul> |
| 状态 | 原生 | int8\_t | <ul class="ul"><br>                  <li class="li">1 - 成功</li><br><br>                  <li class="li">-1 - IQesdk 为 NULL</li><br><br>                  <li class="li">-2 - 子系统错误</li><br><br>                </ul> |
|  |  |  |  |

**Parent Topic:** [LCE 函数](https://docs.qualcomm.com/doc/80-PK177-134Y/topic/lce_functions.html)

Last Published: Jun 22, 2023

[Previous Topic
LinkCapacityEstimateManager](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/lce_link_capacity_estimate_manager.md) [Next Topic
setReportingCriteria](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/lce_set_reporting_criteria.md)