Objective-CclassHealthKit

@interface HKSleepDaySummary : NSObject <HKRedactedDescription, HKSampleAggregateCacheProviding, NSSecureCoding, NSCopying>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 95

  1. method+ (id)_adjustedSleepPeriods:(id)arg0 sourceTimeZone:(id)arg1 destinationTimeZone:(id)arg2;
  2. method+ (id)_adjustedSleepSegments:(id)arg0 sourceTimeZone:(id)arg1 destinationTimeZone:(id)arg2;
  3. method+ (id)_computeDurationsForPeriods:(id)arg0 sleepDayInterval:(id)arg1 strategies:(id)arg2 periodDurations:(id *)arg3;
  4. method+ (id)_computePeriodDurationsForPeriods:(id)arg0 sleepDayInterval:(id)arg1 strategies:(id)arg2;
  5. method+ (id)_computeTotalDurationsFromPeriodDurations:(id)arg0;
  6. method+ (id)daySummaryWithMorningIndex:(long long)arg0 dateInterval:(id)arg1 calendar:(id)arg2 periods:(id)arg3 schedules:(id)arg4 sleepDurationGoal:(id)arg5 minimumRecommendedSleepDurationGoal:(id)arg6 creationInterval:(id)arg7;
  7. method+ (id)emptyDaySummaryWithMorningIndex:(long long)arg0 dateInterval:(id)arg1 calendar:(id)arg2;
  8. method+ (BOOL)supportsSecureCoding;
  9. property@property(class, readonly) BOOL supportsSecureCoding;
  10. ivarNSDateInterval *_creationInterval;+0x40
  11. ivarNSDateInterval *_dateInterval;+0x18
  12. ivarNSCalendar *_gregorianCalendar;+0x48
  13. ivarHKQuantity *_minimumRecommendedSleepDurationGoal;+0x38
  14. ivarlong long _morningIndex;+0x10
  15. ivarNSArray *_periodDurations;+0x50
  16. ivarNSArray *_periods;+0x20
  17. ivarNSArray *_schedules;+0x28
  18. ivarHKQuantity *_sleepDurationGoal;+0x30
  19. ivarHKSleepDaySummaryDurationStrategySet *_strategies;+0x60
  20. ivarHKSleepDaySummaryDurationCollection *_totalDurations;+0x58
  21. ivarBOOL _wasShimmedFromUpdatedQuery;+0x8
  22. method- (void).cxx_destruct;
  23. method- (id)_recomputeDurationsForStrategy:(id)arg0;
  24. method- (id)_updatingPeriods:(id)arg0;
  25. method- (double)awakeDuration;
  26. method- (long long)bucketIndexForIntervalComponents:(id)arg0 anchorDate:(id)arg1;
  27. method- (id)calendar;
  28. method- (BOOL)containsPeriodsWithAppleSleepTrackingData;
  29. method- (id)copyWithZone:(struct _NSZone *)arg0;
  30. method- (double)coreSleepDuration;
  31. method- (id)creationInterval;
  32. method- (id)dateInterval;
  33. method- (double)deepSleepDuration;
  34. method- (id)description;
  35. method- (id)durationsForStrategy:(id)arg0;
  36. method- (id)durationsForStrategyType:(long long)arg0;
  37. method- (void)encodeWithCoder:(id)arg0;
  38. method- (BOOL)getData:(id *)arg0 error:(id *)arg1;
  39. method- (BOOL)hasNonZeroSleepDurationGoal;
  40. method- (BOOL)hasSleepStageData;
  41. method- (unsigned long long)hash;
  42. method- (id)hk_redactedDescription;
  43. method- (double)inBedDuration;
  44. method- (id)initWithCoder:(id)arg0;
  45. method- (id)initWithMorningIndex:(long long)arg0 dateInterval:(id)arg1 calendar:(id)arg2 periods:(id)arg3 schedules:(id)arg4 sleepDurationGoal:(id)arg5 minimumRecommendedSleepDurationGoal:(id)arg6 creationInterval:(id)arg7;
  46. method- (id)initWithMorningIndex:(long long)arg0 dateInterval:(id)arg1 calendar:(id)arg2 periods:(id)arg3 schedules:(id)arg4 sleepDurationGoal:(id)arg5 minimumRecommendedSleepDurationGoal:(id)arg6 creationInterval:(id)arg7 wasShimmedFromUpdatedQuery:(BOOL)arg8;
  47. method- (BOOL)isEqual:(id)arg0;
  48. method- (BOOL)isEqualToSummary:(id)arg0 ignoreSchedules:(BOOL)arg1;
  49. method- (id)lastSleepPeriod;
  50. method- (id)minimumRecommendedSleepDurationGoal;
  51. method- (long long)morningIndex;
  52. method- (id)periods;
  53. method- (id)primarySchedule;
  54. method- (id)primarySleepPeriod;
  55. method- (id)primarySleepPeriodUsingSummaryDurationStrategyType:(long long)arg0;
  56. method- (double)remSleepDuration;
  57. method- (id)representativeTimeZone;
  58. method- (id)schedules;
  59. method- (double)sleepDuration;
  60. method- (id)sleepDurationGoal;
  61. method- (id)summaryFilteredToLastPeriod;
  62. method- (id)summaryFilteredToPrimaryPeriod;
  63. method- (id)summaryFilteredWithOptions:(unsigned long long)arg0;
  64. method- (id)summaryFilteredWithOptions:(unsigned long long)arg0 strategyType:(long long)arg1;
  65. method- (id)timeZoneAdjustedSummary;
  66. method- (id)timeZoneUnadjustedSummary;
  67. method- (double)unspecifiedSleepDuration;
  68. method- (BOOL)wasShimmedFromUpdatedQuery;
  69. property@property(readonly, nonatomic) double awakeDuration;
  70. property@property(readonly, copy, nonatomic) NSCalendar *calendar;
  71. property@property(readonly, nonatomic) BOOL containsPeriodsWithAppleSleepTrackingData;
  72. property@property(readonly, nonatomic) double coreSleepDuration;
  73. property@property(readonly, copy, nonatomic) NSDateInterval *creationInterval;
  74. property@property(readonly, copy, nonatomic) NSDateInterval *dateInterval;
  75. property@property(readonly, copy) NSString *debugDescription;
  76. property@property(readonly, nonatomic) double deepSleepDuration;
  77. property@property(readonly, copy) NSString *description;
  78. property@property(readonly, nonatomic) BOOL hasNonZeroSleepDurationGoal;
  79. property@property(readonly, nonatomic) BOOL hasSleepStageData;
  80. property@property(readonly) unsigned long long hash;
  81. property@property(readonly, copy) NSString *hk_redactedDescription;
  82. property@property(readonly, nonatomic) double inBedDuration;
  83. property@property(readonly, nonatomic) HKSleepPeriod *lastSleepPeriod;
  84. property@property(readonly, copy, nonatomic) HKQuantity *minimumRecommendedSleepDurationGoal;
  85. property@property(readonly, nonatomic) long long morningIndex;
  86. property@property(readonly, copy, nonatomic) NSArray *periods;
  87. property@property(readonly, copy, nonatomic) HKSleepSchedule *primarySchedule;
  88. property@property(readonly, nonatomic) HKSleepPeriod *primarySleepPeriod;
  89. property@property(readonly, nonatomic) double remSleepDuration;
  90. property@property(readonly, copy, nonatomic) NSArray *schedules;
  91. property@property(readonly, nonatomic) double sleepDuration;
  92. property@property(readonly, copy, nonatomic) HKQuantity *sleepDurationGoal;
  93. property@property(readonly) Class superclass;
  94. property@property(readonly, nonatomic) double unspecifiedSleepDuration;
  95. property@property(readonly, nonatomic) BOOL wasShimmedFromUpdatedQuery;
@interface HKSleepDaySummary : NSObject <HKRedactedDescription, HKSampleAggregateCacheProviding, NSSecureCoding, NSCopying> {
    BOOL _wasShimmedFromUpdatedQuery;
    long long _morningIndex;
    NSDateInterval *_dateInterval;
    NSArray *_periods;
    NSArray *_schedules;
    HKQuantity *_sleepDurationGoal;
    HKQuantity *_minimumRecommendedSleepDurationGoal;
    NSDateInterval *_creationInterval;
    NSCalendar *_gregorianCalendar;
    NSArray *_periodDurations;
    HKSleepDaySummaryDurationCollection *_totalDurations;
    HKSleepDaySummaryDurationStrategySet *_strategies;
}

@property (class, readonly) BOOL supportsSecureCoding;

@property (nonatomic, readonly) long long morningIndex;
@property (nonatomic, copy, readonly) NSDateInterval *dateInterval;
@property (nonatomic, copy, readonly) NSCalendar *calendar;
@property (nonatomic, copy, readonly) NSArray *periods;
@property (nonatomic, copy, readonly) NSArray *schedules;
@property (nonatomic, copy, readonly) HKSleepSchedule *primarySchedule;
@property (nonatomic, copy, readonly) HKQuantity *sleepDurationGoal;
@property (nonatomic, readonly) BOOL hasNonZeroSleepDurationGoal;
@property (nonatomic, copy, readonly) HKQuantity *minimumRecommendedSleepDurationGoal;
@property (nonatomic, readonly) double inBedDuration;
@property (nonatomic, readonly) double sleepDuration;
@property (nonatomic, readonly) double unspecifiedSleepDuration;
@property (nonatomic, readonly) double coreSleepDuration;
@property (nonatomic, readonly) double deepSleepDuration;
@property (nonatomic, readonly) double remSleepDuration;
@property (nonatomic, readonly) double awakeDuration;
@property (nonatomic, readonly) BOOL containsPeriodsWithAppleSleepTrackingData;
@property (nonatomic, readonly) BOOL hasSleepStageData;
@property (nonatomic, readonly) HKSleepPeriod *lastSleepPeriod;
@property (nonatomic, readonly) HKSleepPeriod *primarySleepPeriod;
@property (nonatomic, copy, readonly) NSDateInterval *creationInterval;
@property (nonatomic, readonly) BOOL wasShimmedFromUpdatedQuery;
@property (copy, readonly) NSString *hk_redactedDescription;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (copy, readonly) NSString *description;
@property (copy, readonly) NSString *debugDescription;

+ (BOOL)supportsSecureCoding;
+ (id)_adjustedSleepPeriods:(id)_adjustedSleepPeriods sourceTimeZone:(id)sourceTimeZone destinationTimeZone:(id)destinationTimeZone;
+ (id)_adjustedSleepSegments:(id)_adjustedSleepSegments sourceTimeZone:(id)sourceTimeZone destinationTimeZone:(id)destinationTimeZone;
+ (id)_computeDurationsForPeriods:(id)periods sleepDayInterval:(id)sleepDayInterval strategies:(id)strategies periodDurations:(id *)periodDurations;
+ (id)_computePeriodDurationsForPeriods:(id)periods sleepDayInterval:(id)sleepDayInterval strategies:(id)strategies;
+ (id)_computeTotalDurationsFromPeriodDurations:(id)periodDurations;
+ (id)daySummaryWithMorningIndex:(long long)morningIndex dateInterval:(id)dateInterval calendar:(id)calendar periods:(id)periods schedules:(id)schedules sleepDurationGoal:(id)sleepDurationGoal minimumRecommendedSleepDurationGoal:(id)minimumRecommendedSleepDurationGoal creationInterval:(id)creationInterval;
+ (id)emptyDaySummaryWithMorningIndex:(long long)morningIndex dateInterval:(id)dateInterval calendar:(id)calendar;

- (id)description;
- (id)calendar;
- (id)copyWithZone:(struct _NSZone *)zone;
- (id)dateInterval;
- (BOOL)isEqual:(id)isEqual;
- (void).cxx_destruct;
- (void)encodeWithCoder:(id)coder;
- (id)hk_redactedDescription;
- (double)sleepDuration;
- (unsigned long long)hash;
- (id)initWithCoder:(id)coder;
- (double)deepSleepDuration;
- (id)_recomputeDurationsForStrategy:(id)strategy;
- (id)periods;
- (id)primarySchedule;
- (id)lastSleepPeriod;
- (id)_updatingPeriods:(id)_updatingPeriods;
- (double)awakeDuration;
- (long long)bucketIndexForIntervalComponents:(id)intervalComponents anchorDate:(id)anchorDate;
- (BOOL)containsPeriodsWithAppleSleepTrackingData;
- (double)coreSleepDuration;
- (id)creationInterval;
- (id)durationsForStrategy:(id)strategy;
- (id)durationsForStrategyType:(long long)strategyType;
- (BOOL)getData:(id *)data error:(id *)error;
- (BOOL)hasNonZeroSleepDurationGoal;
- (BOOL)hasSleepStageData;
- (double)inBedDuration;
- (id)initWithMorningIndex:(long long)morningIndex dateInterval:(id)dateInterval calendar:(id)calendar periods:(id)periods schedules:(id)schedules sleepDurationGoal:(id)sleepDurationGoal minimumRecommendedSleepDurationGoal:(id)minimumRecommendedSleepDurationGoal creationInterval:(id)creationInterval;
- (id)initWithMorningIndex:(long long)morningIndex dateInterval:(id)dateInterval calendar:(id)calendar periods:(id)periods schedules:(id)schedules sleepDurationGoal:(id)sleepDurationGoal minimumRecommendedSleepDurationGoal:(id)minimumRecommendedSleepDurationGoal creationInterval:(id)creationInterval wasShimmedFromUpdatedQuery:(BOOL)updatedQuery;
- (BOOL)isEqualToSummary:(id)summary ignoreSchedules:(BOOL)ignoreSchedules;
- (id)minimumRecommendedSleepDurationGoal;
- (long long)morningIndex;
- (id)primarySleepPeriod;
- (id)primarySleepPeriodUsingSummaryDurationStrategyType:(long long)summaryDurationStrategyType;
- (double)remSleepDuration;
- (id)representativeTimeZone;
- (id)schedules;
- (id)sleepDurationGoal;
- (id)summaryFilteredToLastPeriod;
- (id)summaryFilteredToPrimaryPeriod;
- (id)summaryFilteredWithOptions:(unsigned long long)options;
- (id)summaryFilteredWithOptions:(unsigned long long)options strategyType:(long long)strategyType;
- (id)timeZoneAdjustedSummary;
- (id)timeZoneUnadjustedSummary;
- (double)unspecifiedSleepDuration;
- (BOOL)wasShimmedFromUpdatedQuery;

@end