One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKWorkoutEffortRelationshipQueryDescriptor

struct · iOS 18.0+ · SDK 27.1

struct HKWorkoutEffortRelationshipQueryDescriptor

Members (9)

get · iOS 18.0+

anchor

TypeScript
get anchor(): (HKQueryAnchor) | null
Swift declaration
var 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 · iOS 18.0+

anchor

TypeScript
set anchor(value: (HKQueryAnchor) | null)
Swift declaration
var 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 · iOS 18.0+

option

TypeScript
get option(): HKWorkoutEffortRelationshipQueryOptions
Swift declaration
var option: HKWorkoutEffortRelationshipQueryOptions
set · iOS 18.0+

option

TypeScript
set option(value: HKWorkoutEffortRelationshipQueryOptions)
Swift declaration
var option: HKWorkoutEffortRelationshipQueryOptions
method · iOS 18.0+

result

TypeScript
result(healthStore: HKHealthStore): Promise<HKWorkoutEffortRelationshipQueryDescriptor_Result>
Swift declaration
func result(for healthStore: HKHealthStore) async throws -> HKWorkoutEffortRelationshipQueryDescriptor.Result

Returns 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.

method · iOS 18.0+

results

TypeScript
results(healthStore: HKHealthStore): HKWorkoutEffortRelationshipQueryDescriptor_Results
Swift declaration
func results(for healthStore: HKHealthStore) -> HKWorkoutEffortRelationshipQueryDescriptor.Results
init · iOS 18.0+

init

TypeScript
static init(predicate: (_Foundation_NSPredicate) | null, anchor: (HKQueryAnchor) | null, option: HKWorkoutEffortRelationshipQueryOptions): HKWorkoutEffortRelationshipQueryDescriptor
Swift declaration
init(predicate: NSPredicate?, anchor: HKQueryAnchor?, option: HKWorkoutEffortRelationshipQueryOptions)
get · iOS 18.0+

predicate

TypeScript
get predicate(): (_Foundation_NSPredicate) | null
Swift declaration
var 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 · iOS 18.0+

predicate

TypeScript
set predicate(value: (_Foundation_NSPredicate) | null)
Swift declaration
var 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.

Skipped declarations

No declarations were skipped in this snapshot.

All HealthKit types →