Instance Method

disableCollection(for:)

Stops automatically calculating statistics for the quantity type.

Declaration

func disableCollection(for quantityType: HKQuantityType)

See Also

Calculating Statistics

func enableCollection(for: HKQuantityType, predicate: NSPredicate?)

Begins automatically calculating statistics for samples that match the quantity type and predicate.