SwiftstructHealthKit
SleepSessionComparison
struct HealthKit.SleepSessionComparison
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolHealthKit.SecureCodable
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 5
- init
init() -> HealthKit.SleepSessionComparison - typealias
typealias ComparisonType = HealthKit.SleepSessionComparison - typealias
typealias ConfigurationType = HealthKit.SleepSessionComparison.QueryConfiguration - typealias
typealias RangeType = Foundation.DateInterval - typealias
typealias ResultType = HealthKit.SleepSession
Header
struct SleepSessionComparison { struct QueryConfiguration { enum CodingKeys { case sleepSessionConfiguration case statisticsInterval } var sleepSessionConfiguration: HealthKit.SleepSession.QueryConfiguration var statisticsInterval: Foundation.DateComponents init(sleepSessionConfiguration: HealthKit.SleepSession.QueryConfiguration, statisticsInterval: Foundation.DateComponents) var isAscending: Swift.Bool { get set } var limit: Swift.Int? { get set } var limitToFirstPartyWatchData: Swift.Bool { get set } } enum CodingKeys {} init() }