Represents a single sample of a measurement or data point.
public class Sample : Microsoft.Health.ItemTypes.HealthRecordItemData
A sample is a single measurement within a larger activity. For instance, the a single heart rate reading during an aerobic activity.
Creates a new instance of the Sample class with no value.
Creates a new instance of the Sample class with the specified time offset.
Creates a new instance of the Sample class with the specified time offset and value.
Gets or sets a description of the sample.
Gets or sets the time offset in seconds from the start of the sample set.
Gets or sets the value of the sample.
Populates the data for the measurement from the XML.
Writes the sample to the specified XML writer.