Added in API level 29

OnThermalStatusChangedListener


interface OnThermalStatusChangedListener
android.os.PowerManager.OnThermalStatusChangedListener

Listener passed to android.os.PowerManager#addThermalStatusListener and PowerManager.removeThermalStatusListener to notify caller of thermal status has changed.

Summary

Public methods
abstract Unit

Called when overall thermal throttling status changed.

Public methods

onThermalStatusChanged

Added in API level 29
abstract fun onThermalStatusChanged(status: Int): Unit

Called when overall thermal throttling status changed.

Parameters
status Int: the status