SleepJournalAM Class

Definition

Represents a health record item type that encapsulates a sleep journal morning entry.

public class SleepJournalAM : Microsoft.Health.HealthRecordItem
Inheritance
SleepJournalAM

Inherited Members

Microsoft.Health.HealthRecordItem

Constructors

SleepJournalAM()

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

SleepJournalAM(HealthServiceDateTime, ApproximateTime, ApproximateTime, Int32, Int32, WakeState)

Creates a new instance of the SleepJournalAM class specifying the mandatory values.

Fields

TypeId

Retrieves the unique identifier for the item type.

Properties

Awakenings

Gets the occurrences of awakenings that occurred during sleeping period.

Bedtime

Gets or sets the when the person went to bed.

Medications

Gets or sets a description of the medications taken before bed.

SettlingMinutes

Gets or sets the number of minutes spent settling into sleep.

SleepMinutes

Gets or sets the number of minutes slept.

WakeState

Gets or sets the state of the person when they awoke.

WakeTime

Gets or sets the when the person woke up.

When

Gets or sets the when the journal entry is made.

Methods

ParseXml(IXPathNavigable)

Populates this SleepJournalAM instance from the data in the XML.

ToString()

Gets a string representation of the sleep journal entry.

WriteXml(XmlWriter)

Writes the morning sleep journal data to the specified XmlWriter.