Instance Method

initWithSample:quantityHandler:

Creates a new series query.

Declaration

- (instancetype)initWithSample:(HKQuantitySample *)quantitySample quantityHandler:(void (^)(HKQuantitySeriesSampleQuery *query, HKQuantity *quantity, NSDate *date, BOOL done, NSError *error))quantityHandler;