<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 15.4.0 -",
    "macOS: 13.0.0 -",
    "visionOS: -",
    "watchOS: 8.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKAnchoredObjectQueryDescriptor/Result",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "s:9HealthKit31HKAnchoredObjectQueryDescriptorV6ResultV"
  },
  "title" : "HKAnchoredObjectQueryDescriptor.Result"
}
-->

# HKAnchoredObjectQueryDescriptor.Result

A set of results from an anchored object query.

```
struct Result
```

## Topics

### Accessing the Results

[`addedSamples`](/documentation/HealthKit/HKAnchoredObjectQueryDescriptor/Result/addedSamples)

An array containing the matching samples added to the HealthKit store.

[`deletedObjects`](/documentation/HealthKit/HKAnchoredObjectQueryDescriptor/Result/deletedObjects)

An array of objects deleted from the HealthKit store.

[`newAnchor`](/documentation/HealthKit/HKAnchoredObjectQueryDescriptor/Result/newAnchor)

A value corresponding to the last sample that the anchor query has returned.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)