SwiftstructHealthKit

struct HealthKit.SleepSessionComparison

Structure

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

Members 5

  1. initinit() -> HealthKit.SleepSessionComparison
  2. typealiastypealias ComparisonType = HealthKit.SleepSessionComparison
  3. typealiastypealias ConfigurationType = HealthKit.SleepSessionComparison.QueryConfiguration
  4. typealiastypealias RangeType = Foundation.DateInterval
  5. typealiastypealias ResultType = HealthKit.SleepSession
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()
}