SwiftstructHealthKit
HKStatisticsQueryDescriptor
struct HealthKit.HKStatisticsQueryDescriptor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolHealthKit.HKAsyncQuery
Members 7
- field
var dateInterval: Foundation.DateInterval? - field
var options: HKStatisticsOptions+0x10 - field
var predicate: HealthKit.HKSamplePredicate<HKQuantitySample>+0x0 - field
var queryAttributes: HealthKit.HKQueryAttributes - func
result(for: HKHealthStore) async throws -> HKStatistics? - init
init(predicate: HealthKit.HKSamplePredicate<HKQuantitySample>, options: HKStatisticsOptions) -> HealthKit.HKStatisticsQueryDescriptor - typealias
typealias Output = Swift.Optional<__C.HKStatistics>
Header
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? }