HKStatistics.SumQuantity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SumQuantity() |
Calculates and returns the sum of the data. |
SumQuantity(HKSource) |
Calculates and returns the sum of the data in |
SumQuantity()
Calculates and returns the sum of the data.
[Foundation.Export("sumQuantity")]
public virtual HealthKit.HKQuantity SumQuantity ();
abstract member SumQuantity : unit -> HealthKit.HKQuantity
override this.SumQuantity : unit -> HealthKit.HKQuantity
Returns
- Attributes
Applies to
SumQuantity(HKSource)
Calculates and returns the sum of the data in source
.
[Foundation.Export("sumQuantityForSource:")]
public virtual HealthKit.HKQuantity SumQuantity (HealthKit.HKSource source);
abstract member SumQuantity : HealthKit.HKSource -> HealthKit.HKQuantity
override this.SumQuantity : HealthKit.HKSource -> HealthKit.HKQuantity
Parameters
- source
- HKSource
Returns
- Attributes