Share via


Volume.FromLiters(Double) Method

Definition

Creates a Volume object with the specified value in liters.

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

Parameters

value
Double

value to be set as liters.

Returns

Attributes

Remarks

Creates a Volume object with the specified value in liters.

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