Udostępnij za pośrednictwem


HardwarePropertiesManager.DeviceTemperatureBattery Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.DeviceTemperatureType enum directly instead of this field.

Temperature of battery in Celsius.

[Android.Runtime.Register("DEVICE_TEMPERATURE_BATTERY", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.DeviceTemperatureType enum directly instead of this field.", true)]
public const Android.OS.DeviceTemperatureType DeviceTemperatureBattery = 2;
[<Android.Runtime.Register("DEVICE_TEMPERATURE_BATTERY", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.DeviceTemperatureType enum directly instead of this field.", true)>]
val mutable DeviceTemperatureBattery : Android.OS.DeviceTemperatureType

Field Value

Value = 2
Attributes

Remarks

Temperature of battery in Celsius.

Java documentation for android.os.HardwarePropertiesManager.DEVICE_TEMPERATURE_BATTERY.

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