Volume.FromLiters(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.