Class

HKQueryAnchor

An object used to identify all the samples previously returned by an anchored object query.

Declaration

class HKQueryAnchor : NSObject

Overview

The system returns HKQueryAnchor objects in both the anchored object query’s results handler and it’s update handler. Use the anchors to query for samples added or deleted after the result or update.

Topics

Creating Anchor Objects

init(fromValue: Int)

Returns an anchor object from the provided anchor value.

Relationships

Inherits From

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software