共用方式為


Mass.InGrams Property

Definition

Returns mass in grams

public double InGrams { [Android.Runtime.Register("getInGrams", "()D", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getInGrams", "()D", "", ApiSince=34)>]
member this.InGrams : double

Property Value

Attributes

Remarks

Returns mass in grams

Java documentation for android.health.connect.datatypes.units.Mass.getInGrams().

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