Edit

Share via


HKCategoryValueSleepAnalysis Enum

Definition

Enumerates the states of the slumberer: whether they are asleep or merely resting in bed.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HKCategoryValueSleepAnalysis
type HKCategoryValueSleepAnalysis = 
Inheritance
HKCategoryValueSleepAnalysis
Attributes

Fields

Name Value Description
InBed 0

The user is in bed.

Asleep 1

The user is asleep.

Awake 2

Applies to