# 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.



| | | | | | ## Returns | **Return** | **API type** | **Data Type** | **Description** | | --- | --- | --- | --- | | response | Java | int | | | 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 release\_thread\_hints](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/qape_release_thread_hints.md) [Next Topic unregister\_thermal\_zone\_callback](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/qape_unregister_thermal_zone_callback.md)