Class Weight
Body weight measurement.
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class Weight : IMessage<Weight>, IEquatable<Weight>, IDeepCloneable<Weight>, IBufferMessage, IMessage
Constructors
Weight()
Declaration
public Weight()
Weight(Weight)
Declaration
public Weight(Weight other)
Parameters
| Type | Name | Description |
|---|---|---|
| Weight | other |
Properties
Notes
Optional. Standard free-form notes captured at manual logging.
Declaration
public string Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SampleTime
Required. The time at which the weight was measured
Declaration
public ObservationSampleTime SampleTime { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservationSampleTime |
WeightGrams
Required. Weight of a user in grams.
Declaration
public double WeightGrams { get; set; }
Property Value
| Type | Description |
|---|---|
| double |