# setReportingCriteria

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

Sets the interval at which periodic estimation reports are sent by the modem. This interval is not
        guaranteed but the modem picks the best matching interval it supports. The actual interval can be
        obtained with [getLastEstimationReport](https://docs.qualcomm.com/doc/80-PK177-134/topic/get_last_estimation_report.html) and [registerForEstimationReports](https://docs.qualcomm.com/doc/80-PK177-134/topic/register_for_estimation_reports.html).

            setReportingCriteria()Copy to clipboard

## Parameters

| Parameter | API type | Data type | Description |
| --- | --- | --- | --- |
| reportInterval | Java | long | Estimation report interval in milliseconds. Setting<br>                                this argument to zero (0) will disable reporting. |
| reportInterval | Native | uint32\_t | Estimation report interval in milliseconds. Setting<br>                                this argument to zero (0) will disable reporting. |
| ret | Native | int8\_t& | On success this is the actual return value from the API.<br><br><br>                                <br><ul class="ul"><br>                                        <li class="li">1: Success</li><br><br>                                        <li class="li">-1: Iqesdk is NULL</li><br><br>                                        <li class="li">-2: Subsystem error</li><br><br>                                    </ul> |
|  |  |  |  |

## Returns

| Return | API type | Data type | Description |
| --- | --- | --- | --- |
| response | Java | int | <ul class="ul"><br>                                    <li class="li">1: Success</li><br><br>                                    <li class="li">-1: Iqesdk is NULL</li><br><br>                                    <li class="li">-2: Subsystem error</li><br><br>                                </ul> |
| response | Native | qesdk\_transaction\_status | See [QESDK transaction status for Native APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html) for usage details. Use qesdk\_transaction\_status to confirm API call invocation. If successful, use the `ret` value for the actual API return value object. |
|  |  |  |  |

**Parent Topic:** [LLE susbsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/lle_subsystem_apis.html)

Last Published: Nov 14, 2024

[Previous Topic
Constructor](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/creator.md) [Next Topic
getLastEstimationReport](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/get_last_estimation_report.md)