Length.FromMeters(Double) Method

Definition

Creates a Length object with the specified value in meters.

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

Parameters

value
Double

value to be set as meters.

Returns

Attributes

Remarks

Creates a Length object with the specified value in meters.

Java documentation for android.health.connect.datatypes.units.Length.fromMeters(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