HeartRateZone Class

Definition

Represents a target heart rate zone.

public class HeartRateZone : Microsoft.Health.ItemTypes.HealthRecordItemData
Inheritance

Constructors

HeartRateZone()

Creates a new instance of the HeartRateZone class with default values.

HeartRateZone(String, Double, Double)

Creates a new instance of the HeartRateZone class with the specified relative heart rate boundaries.

HeartRateZone(String, Int32, Int32)

Creates a new instance of the HeartRateZone class with the specified zone name and absolute heart rate boundaries.

Properties

AbsoluteLowerBoundary

Gets or sets the lower boundary of the heart rate zone as a specific heart rate.

AbsoluteUpperBoundary

Gets or sets the upper boundary of the heart rate zone as a specific heart rate.

Name

Gets or sets the name for the heart rate zone.

RelativeLowerBoundary

Gets or sets the lower boundary of the heart rate zone as a percentage of the person's maximum heart rate.

RelativeUpperBoundary

Gets or sets the upper boundary of the heart rate zone as a percentage of the person's maximum heart rate.

Methods

ParseXml(XPathNavigator)

Populates the data from the specified XML.

WriteXml(String, XmlWriter)

Writes the XML representation of the heart rate zone into the specified XML writer.