Udostępnij za pośrednictwem


HardwarePropertiesManager.TemperatureCurrent Field

Definition

Caution

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

Get current temperature.

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

Field Value

Value = 0
Attributes

Remarks

Get current temperature.

Java documentation for android.os.HardwarePropertiesManager.TEMPERATURE_CURRENT.

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