Package: android.hardware.thermal@1.1

IThermalCallback

interface IThermalCallback

IThermalCallback connects vendor code to the framework binder ThermalService.

Methods

notifyThrottling

oneway notifyThrottling (bool isThrottling, Temperature temperature)

Send a thermal throttling start/stop event to all ThermalService thermal event listeners.

Details
RPC mode
oneway
Parameters
isThrottling
true if device is currently throttling
temperature
The temperature associated with the throttling start/stop event