# unregister\_thermal\_zone\_callback

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

Unregisters a thermal headroom callback. No callback will be triggered when the
        thermal zone changes after calling this API.

unregister_thermal_zone_callback()Copy to clipboard

## Parameters

| Parameters | API type | Data type | Description |
| --- | --- | --- | --- |
| report\_thermal\_cb | Java | Ithermal\_cb\_func | Defines the callback function to be triggered when<br>                                the thermal zone gets changed. |
| report\_thermal\_cb | Native | qesdk\_Performance\_QAPE\_thermal\_cb\_func | Defines the callback function to be triggered when<br>                                the thermal zone gets changed. |
| ret\_val | 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 or unregister failed</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>                                <br>                                    <li class="li">1: Success</li><br><br>                                <br>                                <br>                                    <li class="li">-1: Iqesdk is null or unregister failed</li><br><br>                                <br>                                <br>                                    <li class="li">-2: Subsystem error</li><br><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:** [QAPE subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_apis.html)

Last Published: Nov 14, 2024

[Previous Topic
register\_thermal\_zone\_callback](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/qape_register_thermal_zone_callback.md) [Next Topic
query\_thermal\_headroom\_status](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/qape_query_thermal_headroom_status.md)