ORKHealthCorrelationCollector Class Reference

Inherits from ORKCollector : NSObject
Declared in ORKCollector.h

ORKHealthCollector collects HKCorrelation.

It cannot be initiated directly. Use addHealthCorrelationCollectorWithCorrelationType:to add one to a ORKDataCollectionManager.

  correlationType

HealthKit correlation type.

@property (copy, readonly) HKCorrelationType *correlationType

Declared In

ORKCollector.h

  sampleTypes

Array of HKSampleType expected in the correlation.

@property (copy, readonly) NSArray<HKSampleType*> *sampleTypes

Declared In

ORKCollector.h

  units

Array of HKUnit to use when serializing the samples collected (should be same size as sampleTypes).

@property (copy, readonly) NSArray<HKUnit*> *units

Declared In

ORKCollector.h

  startDate

Samples should be collected starting at this date.

@property (copy, readonly) NSDate *startDate

Declared In

ORKCollector.h

  lastAnchor

Last anchor already seen.

@property (copy, readonly) HKQueryAnchor *lastAnchor

Declared In

ORKCollector.h