SwiftenumHealthKit
SleepStatisticsInterval
enum HealthKit.SleepStatisticsInterval
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.RawRepresentable
Members 8
- case
case hourly - case
case sleepDay - case
case sleepMonth - case
case sleepWeek - func
computeAnchorDate(for: Foundation.Date, gregorianCalendar: Foundation.Calendar) -> Foundation.Date? - func
computeIntervalComponents(for: HealthKit.SleepDaySummaryCollection.Grouping) -> Foundation.DateComponents? - typealias
typealias RawValue = Swift.String - var
var description: String { get }
Header
enum SleepStatisticsInterval { case hourly case sleepDay case sleepWeek case sleepMonth var description: Swift.String { get } func computeIntervalComponents(for: HealthKit.SleepDaySummaryCollection.Grouping) -> Foundation.DateComponents? func computeAnchorDate(for: Foundation.Date, gregorianCalendar: Foundation.Calendar) -> Foundation.Date? }