Class Sleep.Types.OutOfBedSegment
A time interval to represent an out-of-bed segment.
Implements
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class Sleep.Types.OutOfBedSegment : IMessage<Sleep.Types.OutOfBedSegment>, IEquatable<Sleep.Types.OutOfBedSegment>, IDeepCloneable<Sleep.Types.OutOfBedSegment>, IBufferMessage, IMessage
Constructors
OutOfBedSegment()
Declaration
public OutOfBedSegment()
OutOfBedSegment(OutOfBedSegment)
Declaration
public OutOfBedSegment(Sleep.Types.OutOfBedSegment other)
Parameters
| Type | Name | Description |
|---|---|---|
| Sleep.Types.OutOfBedSegment | other |
Properties
EndTime
Required. Segment end time.
Declaration
public Timestamp EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
EndUtcOffset
Required. The offset of the user's local time at the end of the segment relative to the Coordinated Universal Time (UTC).
Declaration
public Duration EndUtcOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |
StartTime
Required. Segment tart time.
Declaration
public Timestamp StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
StartUtcOffset
Required. The offset of the user's local time at the start of the segment relative to the Coordinated Universal Time (UTC).
Declaration
public Duration StartUtcOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |