HealthKit · IOS API REFERENCE
HKCorrelationQuery
class · iOS 8.0+ · SDK 27.1
class HKCorrelationQuery
Members (3)
init · iOS 8.0+init
TypeScriptstatic init(correlationType: HKCorrelationType, predicate: (_Foundation_NSPredicate) | null, samplePredicates: (NativeMap<HKSampleType, _Foundation_NSPredicate>) | null, completion: ((arg0: HKCorrelationQuery, arg1: (Array<HKCorrelation>) | null, arg2: (NativeError) | null) => void)): HKCorrelationQuery
Swift declarationinit(type correlationType: HKCorrelationType, predicate: NSPredicate?, samplePredicates: [HKSampleType : NSPredicate]?, completion: @escaping @Sendable (HKCorrelationQuery, [HKCorrelation]?, (any Error)?) -> Void)
get · iOS 8.0+correlationType
TypeScriptget correlationType(): HKCorrelationType
Swift declaration@NSCopying var correlationType: HKCorrelationType { get }
get · iOS 8.0+samplePredicates
TypeScriptget samplePredicates(): (NativeMap<HKSampleType, _Foundation_NSPredicate>) | null
Swift declarationvar samplePredicates: [HKSampleType : NSPredicate]? { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
HKCorrelationQuery.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All HealthKit types →