Aerobic​Session Class

Definition

Represents a health record item type that encapsulates an aerobic session.

public class AerobicSession : Microsoft.Health.HealthRecordItem
Inheritance
AerobicSession

Inherited Members

Microsoft.Health.HealthRecordItem

Remarks

Note: Please use the new exercise type instead of this type.

Constructors

Aerobic​Session()

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

Aerobic​Session(​Health​Service​Date​Time)

Creates a new instance of the AerobicSession class with the specified date and time.

Aerobic​Session(​Health​Service​Date​Time, ​Aerobic​Data)

Creates a new instance of the AerobicSession class with the specified date and time and summary.

Fields

Type​Id

The unique identifier for the item type.

Properties

Lap​Sessions

Gets the lap summary data for the session.

Session

Gets or sets the aerobic session data.

Session​Samples

Gets or sets the session samples.

When

Gets or sets the date/time when the aerobic session occurred.

Methods

Parse​Xml(​IX​Path​Navigable)

Populates this AerobicSession instance from the data in the XML.

To​String()

Gets a string representation of the aerobic session item.

Write​Xml(​Xml​Writer)

Writes the aerobic session data to the specified XmlWriter.