ORKHealthCollector Class Reference

Inherits from ORKCollector : NSObject
Declared in ORKCollector.h

ORKHealthCollector collects HKSample.

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

  sampleType

HealthKit sample type.

@property (copy, readonly) HKSampleType *sampleType

Declared In

ORKCollector.h

  unit

HealthKit unit into which data should be collected.

@property (copy, readonly) HKUnit *unit

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