SwiftstructHealthKit
HKAnchoredObjectQueryDescriptor
struct HealthKit.HKAnchoredObjectQueryDescriptor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolHealthKit.HKAsyncQuery
- protocolHealthKit.HKAsyncSequenceQuery
Members 9
- field
var anchor: HKQueryAnchor?+0x8 - field
var limit: Int?+0x10 - field
var predicates: [HealthKit.HKSamplePredicate<A>]+0x0 - field
var queryAttributes: HealthKit.HKQueryAttributes+0x20 - func
result(for: HKHealthStore) async throws -> HealthKit.HKAnchoredObjectQueryDescriptor<A>.Result - func
results(for: HKHealthStore) -> HealthKit.HKAnchoredObjectQueryDescriptor<A>.Results - init
init(predicates: [HealthKit.HKSamplePredicate<A>], anchor: HKQueryAnchor?, limit: Int?) -> HealthKit.HKAnchoredObjectQueryDescriptor<A> - typealias
typealias Output = HealthKit.HKAnchoredObjectQueryDescriptor<A>.Result - typealias
typealias Sequence = HealthKit.HKAnchoredObjectQueryDescriptor<A>.Results
Header
struct HKAnchoredObjectQueryDescriptor<A> where A: __C.HKSample { struct Result { let addedSamples: [A] let deletedObjects: [__C.HKDeletedObject] let newAnchor: __C.HKQueryAnchor } struct Results { struct Iterator { var iterator: Swift.AsyncThrowingStream<HealthKit.HKAnchoredObjectQueryDescriptor<A>.Result, any Swift.Error>.Iterator func next() async throws -> HealthKit.HKAnchoredObjectQueryDescriptor<A>.Result? } let stream: HealthKit.HKQueryAsyncStream<HealthKit.HKAnchoredObjectQueryDescriptor<A>.Result> func makeAsyncIterator() -> HealthKit.HKAnchoredObjectQueryDescriptor<A>.Results.Iterator } var predicates: [HealthKit.HKSamplePredicate<A>] var anchor: __C.HKQueryAnchor? var limit: Swift.Int? var queryAttributes: HealthKit.HKQueryAttributes init(predicates: [HealthKit.HKSamplePredicate<A>], anchor: __C.HKQueryAnchor?, limit: Swift.Int?) func result(for: __C.HKHealthStore) async throws -> HealthKit.HKAnchoredObjectQueryDescriptor<A>.Result func results(for: __C.HKHealthStore) -> HealthKit.HKAnchoredObjectQueryDescriptor<A>.Results }