# register\_thermal\_zone\_callback
Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_register_thermal_zone_callback.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/qape_register_thermal_zone_callback.html)
Registers a callback to monitor device temperature changes. The registered callback
is called when the thermal zone gets changes. If the thermal zone switches from one level to
another, the client will be notified with the changed zone level.
register_thermal_zone_callback()Copy to clipboard
## Parameters
| **Parameters** | **API type** | **Data type** | **Description** |
| --- | --- | --- | --- |
| report\_thermal\_cb | Java | Ithermal\_cb\_func | This parameter is used to define the callback
function which will be triggered when the thermal zone gets
changed. |
| report\_thermal\_cb | Native | qesdk\_Performance\_QAPE\_thermal\_cb\_func | This parameter is used to define the callback
function which will be triggered when the thermal zone gets
changed. |
| ret\_val | Native | int8\_t& | On success this is the actual return value from the API.