-
Notifications
You must be signed in to change notification settings - Fork 549
HealthKit macOS xcode16.0 b2
Rolf Bjarne Kvinge edited this page Jun 26, 2024
·
2 revisions
#HealthKit.framework
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h 2024-05-30 03:44:21
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h 2024-06-18 06:10:00
@@ -53,8 +53,12 @@
/*!
@method initWithPredicate:anchor:options:
- @abstract Returns a query that will retrieve HKSamples matching the given predicate that are
+ @abstract Returns a query that will retrieve HKWorkoutEffortRelationship matching the given predicate that are
newer than the given anchor.
+ @discussion This is a long running query and it is the responsibility of the caller to stop the query
+ after they have received the results they desire.
+ The first call to resultsHandler will contain the inital results which may be empty and future callbacks
+ will contain new relationships as well as any changes to previous relationships along with a new anchor
@param predicate The predicate on the workout(s) which samples should match.
@param anchor The anchor which was returned by a previous HKWorkoutEffortRelationshipQuery result or update
handler. Pass nil when querying for the first time.