SwiftstructHealthKit
HKSourceQueryDescriptor
struct HealthKit.HKSourceQueryDescriptor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolHealthKit.HKAsyncQuery
Members 5
- field
var predicate: HealthKit.HKSamplePredicate<A>+0x0 - field
var queryAttributes: HealthKit.HKQueryAttributes+0x10 - func
result(for: HKHealthStore) async throws -> [HKSource] - init
init(predicate: HealthKit.HKSamplePredicate<A>) -> HealthKit.HKSourceQueryDescriptor<A> - typealias
typealias Output = Swift.Array<__C.HKSource>
Header
struct HKSourceQueryDescriptor<A> where A: __C.HKSample { var predicate: HealthKit.HKSamplePredicate<A> var queryAttributes: HealthKit.HKQueryAttributes init(predicate: HealthKit.HKSamplePredicate<A>) func result(for: __C.HKHealthStore) async throws -> [__C.HKSource] }