Show / Hide Table of Contents

Class Sleep.Types.SleepMetadata

Additional information about how the sleep was processed.

Inheritance
object
Sleep.Types.SleepMetadata
Implements
IMessage<Sleep.Types.SleepMetadata>
IEquatable<Sleep.Types.SleepMetadata>
IDeepCloneable<Sleep.Types.SleepMetadata>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class Sleep.Types.SleepMetadata : IMessage<Sleep.Types.SleepMetadata>, IEquatable<Sleep.Types.SleepMetadata>, IDeepCloneable<Sleep.Types.SleepMetadata>, IBufferMessage, IMessage

Constructors

SleepMetadata()

Declaration
public SleepMetadata()

SleepMetadata(SleepMetadata)

Declaration
public SleepMetadata(Sleep.Types.SleepMetadata other)
Parameters
Type Name Description
Sleep.Types.SleepMetadata other

Properties

ExternalId

Optional. Sleep identifier relevant in the context of the data source.

Declaration
public string ExternalId { get; set; }
Property Value
Type Description
string

MainSleep

Output only. main_sleep: the longest sleep session with stages within one day. If no sleep session has stages, then the longest sleep is the main_sleep. If there are multiple days of sleep in the response, there is one main_sleep per day.

Declaration
public bool MainSleep { get; set; }
Property Value
Type Description
bool

ManuallyEdited

Output only. Some sleeps autodetected by algorithms can be manually edited by users.

Declaration
public bool ManuallyEdited { get; set; }
Property Value
Type Description
bool

Nap

Output only. Naps are sleeps without stages and relatively short durations.

Declaration
public bool Nap { get; set; }
Property Value
Type Description
bool

Processed

Output only. Sleep and sleep stages algorithms finished processing. A true value indicates whether all data processing for the session is complete. A false value means sleep period is detected but sleep stages is still processing.

Declaration
public bool Processed { get; set; }
Property Value
Type Description
bool

StagesStatus

Output only. Sleep stages algorithm processing status.

Declaration
public Sleep.Types.SleepMetadata.Types.StagesState StagesStatus { get; set; }
Property Value
Type Description
Sleep.Types.SleepMetadata.Types.StagesState
In this article
Back to top Generated by DocFX