語言

HardwarePropertiesManager.DeviceTemperatureBattery 欄位

定義

警告

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

電池溫度以攝氏為單位。

[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

欄位值

Value = 2
屬性

備註

電池溫度以攝氏為單位。

Java 文件 android.os.HardwarePropertiesManager.DEVICE_TEMPERATURE_BATTERY。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於