Partager via


PowerManager.CurrentThermalStatus Property

Definition

This function returns the current thermal status of the device.

public virtual Android.OS.ThermalStatus CurrentThermalStatus { [Android.Runtime.Register("getCurrentThermalStatus", "()I", "GetGetCurrentThermalStatusHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getCurrentThermalStatus", "()I", "GetGetCurrentThermalStatusHandler", ApiSince=29)>]
member this.CurrentThermalStatus : Android.OS.ThermalStatus

Property Value

thermal status as int, #THERMAL_STATUS_NONE if device in not under thermal throttling.

Attributes

Remarks

This function returns the current thermal status of the device.

Java documentation for android.os.PowerManager.getCurrentThermalStatus().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to