# 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
the thermal zone gets changed. |
| report\_thermal\_cb | Native | qesdk\_Performance\_QAPE\_thermal\_cb\_func | Defines the callback function to be triggered when
the thermal zone gets changed. |
| ret\_val | Native | int8\_t& | On success this is the actual return value from the API.
- 1: Success
- -1: Iqesdk is null or unregister failed
- -2: Subsystem error
|
| | | | |
## Returns
| Return | API type | Data type | Description |
| --- | --- | --- | --- |
| response | Java | int |
- 1: Success
- -1: Iqesdk is null or unregister failed
- -2: Subsystem error
|
| 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)