Modifier

Partager via


HKStatistics.SumQuantity Method

Definition

Overloads

SumQuantity()

Calculates and returns the sum of the data.

SumQuantity(HKSource)

Calculates and returns the sum of the data in source.

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

Applies to