Package apple.healthkit.enums
Class HKCategoryValueSleepAnalysis
- java.lang.Object
-
- apple.healthkit.enums.HKCategoryValueSleepAnalysis
-
public final class HKCategoryValueSleepAnalysis extends java.lang.Object[@enum] HKCategoryValueSleepAnalysis Set of values that may be used for HKCategorySamples with the HKCategoryTypeIdentifierSleepAnalysis type. To represent the user being both in bed and asleep, use two or more samples with overlapping times. By comparing the start and end times of these samples, it is possible to calculate a number of secondary statistics: 1) The amount of time it took for the user to fall asleep 2) The percentage of time in bed that the user actually spent sleeping, 3) The number of times the user woke while in bed 4) The total amount of time spent both in bed and asleep.
-
-
Field Detail
-
InBed
public static final long InBed
- See Also:
- Constant Field Values
-
Asleep
public static final long Asleep
- See Also:
- Constant Field Values
-
Awake
public static final long Awake
- See Also:
- Constant Field Values
-
-