HeartRateZone HeartRateZone HeartRateZone Class

Definition

Represents a target heart rate zone.

public class HeartRateZone : Microsoft.Health.ItemTypes.HealthRecordItemData
type HeartRateZone = class
    inherit HealthRecordItemData
Public Class HeartRateZone
Inherits HealthRecordItemData
Inheritance

Constructors

HeartRateZone() HeartRateZone() HeartRateZone()

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

HeartRateZone(String, Double, Double) HeartRateZone(String, Double, Double) HeartRateZone(String, Double, Double)

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

HeartRateZone(String, Int32, Int32) HeartRateZone(String, Int32, Int32) HeartRateZone(String, Int32, Int32)

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

Properties

AbsoluteLowerBoundary AbsoluteLowerBoundary AbsoluteLowerBoundary

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

AbsoluteUpperBoundary AbsoluteUpperBoundary AbsoluteUpperBoundary

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

Name Name Name

Gets or sets the name for the heart rate zone.

RelativeLowerBoundary RelativeLowerBoundary RelativeLowerBoundary

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

RelativeUpperBoundary RelativeUpperBoundary 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) ParseXml(XPathNavigator) ParseXml(XPathNavigator)

Populates the data from the specified XML.

WriteXml(String, XmlWriter) WriteXml(String, XmlWriter) WriteXml(String, XmlWriter)

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

Applies to