HKQueryDescriptor
A descriptor that specifies a set of samples based on the data type and a predicate.
Declaration
class HKQueryDescriptorOverview
Use descriptors to create queries that return multiple data types. You can use descriptors when creating HKSampleQuery, HKAnchoredObjectQuery, or HKObserverQuery instances.