Package: android.hardware.thermal@1.1

IThermal

interface IThermal extends @1.0::IThermal

Methods

registerThermalCallback

registerThermalCallback (IThermalCallback callback)

Register an IThermalCallback, used by the Thermal HAL to send thermal events to the framework thermal service.

Details
Parameters
callback
the IThermalCallback to use for sending thermal events, or nullptr to set no callback