anchor
TypeScriptget anchor(): (HKQueryAnchor) | nullSwift declarationvar anchor: HKQueryAnchor?An anchor that was returned by a previous query. Restricts query results to relationships and deleted objects that were introduced after `anchor`.
struct · iOS 18.0+ · SDK 27.1
struct HKWorkoutEffortRelationshipQueryDescriptorget anchor(): (HKQueryAnchor) | nullSwift declarationvar anchor: HKQueryAnchor?An anchor that was returned by a previous query. Restricts query results to relationships and deleted objects that were introduced after `anchor`.
set anchor(value: (HKQueryAnchor) | null)Swift declarationvar anchor: HKQueryAnchor?An anchor that was returned by a previous query. Restricts query results to relationships and deleted objects that were introduced after `anchor`.
get option(): HKWorkoutEffortRelationshipQueryOptionsSwift declarationvar option: HKWorkoutEffortRelationshipQueryOptionsset option(value: HKWorkoutEffortRelationshipQueryOptions)Swift declarationvar option: HKWorkoutEffortRelationshipQueryOptionsresult(healthStore: HKHealthStore): Promise<HKWorkoutEffortRelationshipQueryDescriptor_Result>Swift declarationfunc result(for healthStore: HKHealthStore) async throws -> HKWorkoutEffortRelationshipQueryDescriptor.ResultReturns the changes made to the health store matching the receiver. If the `anchor` property is non-nil, the result will be limited to changes made since that anchor was previously returned.
results(healthStore: HKHealthStore): HKWorkoutEffortRelationshipQueryDescriptor_ResultsSwift declarationfunc results(for healthStore: HKHealthStore) -> HKWorkoutEffortRelationshipQueryDescriptor.Resultsstatic init(predicate: (_Foundation_NSPredicate) | null, anchor: (HKQueryAnchor) | null, option: HKWorkoutEffortRelationshipQueryOptions): HKWorkoutEffortRelationshipQueryDescriptorSwift declarationinit(predicate: NSPredicate?, anchor: HKQueryAnchor?, option: HKWorkoutEffortRelationshipQueryOptions)get predicate(): (_Foundation_NSPredicate) | nullSwift declarationvar predicate: NSPredicate?The predicate on the workout(s) that match the desired relationships. If there is more than one predicate then they are combined using a disjunction.
set predicate(value: (_Foundation_NSPredicate) | null)Swift declarationvar predicate: NSPredicate?The predicate on the workout(s) that match the desired relationships. If there is more than one predicate then they are combined using a disjunction.
No declarations were skipped in this snapshot.