Export (0) Print
Expand All

ExerciseSamplesData Class

HealthVault
The ExerciseSamplesData class is used to store and retrieve samples data for the ExerciseSamples class. It handles converting from a sample data format to the comma-separated format.

Namespace: Microsoft.Health.ItemTypes
Assembly: Microsoft.Health.ItemTypes (in Microsoft.Health.ItemTypes.dll) Version: 2.1.0.0 (1.15.1003.9505)

public ref class ExerciseSamplesData : public OtherItemDataCsv

Data is represented as either an array of samples with a single value (such as heart rate), or an array of samples with two values (such as a GPS position). The SingleValuedSamples or TwoValuedSamples properties should be used as appropriate based on the stored data type. The underlying format allows the sampling interval to be changed in the middle of a sample set. This class will detect sampling intervals that have changed, and insert appropriate escape values into the resulting data.
Show:
© 2014 Microsoft