Partager via


TemperatureDelta.FromCelsius(Double) Method

Definition

Creates a TemperatureDelta object with the specified value in Celsius degrees.

[Android.Runtime.Register("fromCelsius", "(D)Landroid/health/connect/datatypes/units/TemperatureDelta;", "", ApiSince=35)]
public static Android.Health.Connect.DataTypes.Units.TemperatureDelta FromCelsius (double value);
[<Android.Runtime.Register("fromCelsius", "(D)Landroid/health/connect/datatypes/units/TemperatureDelta;", "", ApiSince=35)>]
static member FromCelsius : double -> Android.Health.Connect.DataTypes.Units.TemperatureDelta

Parameters

value
Double

value to be set as celsius.

Returns

Attributes

Remarks

Creates a TemperatureDelta object with the specified value in Celsius degrees.

Java documentation for android.health.connect.datatypes.units.TemperatureDelta.fromCelsius(double).

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