SwiftstructHealthKit

struct HealthKit.HKStatisticsQueryDescriptor

Structure

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

inherits{}

Members 7

  1. fieldvar dateInterval: Foundation.DateInterval?
  2. fieldvar options: HKStatisticsOptions+0x10
  3. fieldvar predicate: HealthKit.HKSamplePredicate<HKQuantitySample>+0x0
  4. fieldvar queryAttributes: HealthKit.HKQueryAttributes
  5. funcresult(for: HKHealthStore) async throws -> HKStatistics?
  6. initinit(predicate: HealthKit.HKSamplePredicate<HKQuantitySample>, options: HKStatisticsOptions) -> HealthKit.HKStatisticsQueryDescriptor
  7. typealiastypealias Output = Swift.Optional<__C.HKStatistics>
struct HKStatisticsQueryDescriptor {
    var predicate: HealthKit.HKSamplePredicate<__C.HKQuantitySample>
    var options: __C.HKStatisticsOptions
    var dateInterval: Foundation.DateInterval?
    var queryAttributes: HealthKit.HKQueryAttributes

    init(predicate: HealthKit.HKSamplePredicate<__C.HKQuantitySample>, options: __C.HKStatisticsOptions)

    func result(for: __C.HKHealthStore) async throws -> __C.HKStatistics?
}